Marek Szyprowski
8bc780106c
board: amlogic: odroid: add runtime detection of the N2/N2+/C4/HC4 variants
...
Use the ADC channel 1 to check the hardware revision of the board and
detect the N2 vs. N2+ and the C4 vs. HC4 variants. Each of them use
different dtb file, so adjust fdtfile environment variable to the
detected variant.
The ADC min/max values for each variant are taken from the vendor code,
adjusted to the 12-bit ADC driver operation mode (vendor code use 10-bit
mode).
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
2021-02-10 10:00:51 +01:00
..
2020-07-17 09:30:13 -04:00
2020-12-07 08:54:20 +01:00
2020-05-18 21:19:23 -04:00
2021-01-15 07:55:11 -05:00
2020-09-01 14:47:43 +02:00
2021-02-10 10:00:51 +01:00
2021-02-03 03:38:41 -07:00
2021-01-05 12:24:40 -07:00
2020-12-06 15:07:40 +01:00
2020-05-18 21:19:23 -04:00
2021-01-05 12:26:35 -07:00
2021-01-18 15:23:06 -05:00
2020-05-18 21:19:23 -04:00
2020-01-24 23:06:49 +05:30
2021-01-22 15:09:59 +02:00
2020-05-18 21:19:18 -04:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2021-02-07 21:12:57 +01:00
2020-05-18 21:19:23 -04:00
2020-07-09 20:58:05 +05:30
2020-04-27 13:57:17 +02:00
2020-07-17 09:30:13 -04:00
2021-01-05 12:26:35 -07:00
2020-10-12 08:03:38 +05:30
2020-07-17 09:30:13 -04:00
2020-09-09 16:57:35 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2021-01-12 10:59:04 +05:30
2020-10-26 20:55:29 +01:00
2021-01-05 12:26:35 -07:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2021-01-05 12:26:35 -07:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-05-18 21:19:18 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:18 -04:00
2021-01-05 12:26:35 -07:00
2020-09-01 13:38:38 +08:00
2020-11-05 14:58:45 +08:00
2020-07-17 09:30:13 -04:00
2020-05-18 21:19:23 -04:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-05-18 21:19:18 -04:00
2021-01-05 12:26:35 -07:00
2020-09-01 13:38:39 +08:00
2021-01-13 09:52:58 +01:00
2020-06-26 10:29:06 -04:00
2020-05-18 21:19:18 -04:00
2020-09-01 13:38:39 +08:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-09-16 16:31:17 +08:00
2020-07-17 09:30:13 -04:00
2020-12-31 14:41:31 +01:00
2020-10-30 23:31:26 +08:00
2020-07-17 09:30:13 -04:00
2020-08-21 19:56:19 +08:00
2021-01-23 11:30:31 +01:00
2020-07-29 08:43:40 -04:00
2020-05-18 21:19:23 -04:00
2021-01-05 12:26:35 -07:00
2020-11-06 10:18:20 +08:00
2020-12-26 14:56:09 +01:00
2021-02-06 19:20:34 +08:00
2020-07-17 09:30:13 -04:00
2020-07-22 20:21:23 +08:00
2020-07-17 09:30:13 -04:00
2021-01-05 12:26:35 -07:00
2020-07-17 09:30:13 -04:00
2020-07-28 19:30:39 -06:00
2021-01-15 07:55:11 -05:00
2020-07-17 09:30:13 -04:00
2020-05-18 17:33:33 -04:00
2021-01-05 12:26:35 -07:00
2020-11-01 15:53:40 +01:00
2021-02-08 14:01:18 +05:30
2020-07-17 09:30:13 -04:00
2021-01-27 07:25:39 +01:00
2021-02-08 14:01:16 +05:30
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-07-09 06:51:20 +02:00
2020-07-17 09:30:13 -04:00
2021-02-04 20:37:56 +05:30
2021-01-05 12:26:35 -07:00
2021-01-08 08:41:50 -05:00
2020-07-17 09:30:13 -04:00
2021-02-08 08:53:08 +01:00
2020-05-18 17:33:33 -04:00
2021-01-24 21:39:26 +01:00
2020-07-17 09:30:13 -04:00
2021-01-18 11:06:38 +08:00
2020-08-06 14:12:14 +02:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-08-03 22:19:54 -04:00
2020-08-03 17:03:57 +02:00
2020-05-18 21:19:23 -04:00
2021-02-04 20:37:56 +05:30
2020-06-26 10:29:06 -04:00
2021-01-05 12:26:35 -07:00
2020-07-17 09:30:13 -04:00
2021-01-23 11:30:32 +01:00
2020-05-18 21:19:18 -04:00
2020-05-31 22:22:07 +08:00
2020-07-17 09:30:13 -04:00
2020-05-18 17:33:33 -04:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-05-18 17:33:33 -04:00
2020-07-17 09:30:13 -04:00
2021-01-05 12:26:35 -07:00
2021-01-21 11:58:35 +08:00
2020-07-17 09:30:13 -04:00
2021-01-13 13:49:38 +09:00
2021-01-05 12:26:35 -07:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-05-18 17:33:33 -04:00
2020-08-25 10:26:14 +02:00
2020-05-18 21:19:23 -04:00
2021-01-05 12:26:35 -07:00
2021-01-05 12:26:35 -07:00
2021-01-18 11:06:26 +08:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2021-01-27 07:25:39 +01:00
2020-01-20 15:38:16 +01:00
2020-07-17 09:30:13 -04:00
2020-05-18 21:19:23 -04:00
2021-01-13 09:52:58 +01:00
2020-05-18 17:33:33 -04:00
2021-01-25 21:52:01 +00:00
2021-01-05 12:24:40 -07:00
2021-01-05 12:24:41 -07:00
2021-01-05 12:26:35 -07:00
2020-05-18 21:19:23 -04:00
2020-08-25 10:26:14 +02:00
2020-07-17 09:30:13 -04:00
2020-08-18 10:10:25 +02:00
2020-07-17 09:30:13 -04:00
2021-02-08 08:53:14 +01:00
2020-06-07 18:57:16 +08:00
2021-01-12 10:59:04 +05:30
2021-01-05 12:26:35 -07:00
2020-06-24 13:11:08 +02:00
2021-01-05 22:34:43 -05:00
2020-05-18 21:19:23 -04:00
2020-08-25 10:26:14 +02:00
2020-07-17 09:30:13 -04:00
2020-06-02 17:27:04 -04:00
2021-01-23 13:47:50 +01:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-04-27 20:30:14 +02:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-07-17 09:30:13 -04:00
2020-05-18 21:19:23 -04:00
2020-08-24 14:11:31 -04:00
2020-07-17 09:30:13 -04:00
2021-01-20 08:34:53 +01:00
2020-05-18 17:33:33 -04:00