Add board detection for Odroid XU3 / XU3Lite / XU4
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest14 patches 0 repliesNew
- v2 posting 4/40 of 11 patches 0 repliesSuperseded
- v2 posting 3/40 of 11 patches 0 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 2/4 | 0 of 11 patches | 0 replies | Superseded | |
| v2 posting 1/4 | 11 patches | 0 replies | Superseded | |
| v1 | 0 of 7 patches | 0 replies | Superseded |
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | samsung: board/misc: check returned pointer for get_board_type() callsboard/ board/ | +5 | 2 replies | |
| 2/14 | s5p: cpu_info: print "cpu-model" if exists in dtsarch/ doc/ | +34 | 2 replies | |
| 3/14 | Peach-Pi: dts: add cpu-model stringarch/ | +1 | 2 replies | |
| 4/14 | Exynos5422/5800: set cpu id to 0x5422arch/ arch/ arch/ +4 more | +18 | 1 reply | |
| 5/14 | dm: pmic: add s2mps11 PMIC I/O driverdoc/ drivers/ drivers/ +2 more | +203 | 2 replies | |
| 6/14 | dm: regulator: add function device_get_supply_regulator()drivers/ include/ | +23 | 1 reply | |
| 7/14 | dm: adc: add simple ADC uclass implementationdoc/ drivers/ drivers/ +5 more | +783 | 1 reply | |
| 7/14 | dm: adc: add simple ADC uclass implementation | +0 | 0 replies | |
| 8/14 | dm: adc: add Exynos54xx compatible ADC driverarch/ drivers/ drivers/ +1 more | +199 | 1 reply | |
| 9/14 | Odroid-XU3: enable s2mps11 PMIC supportarch/ configs/ | +10 | 1 reply | |
| 10/14 | Exynos54xx: dts: add ADC nodearch/ | +7 | 1 reply | |
| 10/14 | Exynos54xx: dts: add ADC node | +0 | 1 reply | |
| 10/14 | Exynos54xx: dts: add ADC node | +0 | 0 replies | |
| 11/14 | Odroid-XU3: dts: enable ADC, with request for pre-reloc bindarch/ | +5 | 0 replies | |
| 12/14 | exynos5-dt-types: add board detection for Odroid XU3/XU3L/XU4.board/ board/ board/ +3 more | +253 | 1 reply | |
| 13/14 | sandbox: add ADC driverarch/ arch/ configs/ +3 more | +193 | 3 replies | |
| 14/14 | sandbox: add ADC unit testsinclude/ test/ test/ | +170 | 1 reply |
Reviews trailers per patch
10 of 17 patches have a Reviewed-by or Acked-by.
| Patch | Simon Glass | Anand Moon |
|---|---|---|
| 1/14 | R-b | T-b |
| 2/14 | R-b | T-b |
| 3/14 | R-b | T-b |
| 4/14 | T-b | |
| 5/14 | R-b | T-b |
| 6/14 | ||
| 7/14 | ||
| 7/14 | ||
| 8/14 | R-b | |
| 9/14 | T-b | |
| 10/14 | R-b | |
| 10/14 | R-b | |
| 10/14 | R-b | |
| 11/14 | ||
| 12/14 | T-b | |
| 13/14 | R-b R-b | |
| 14/14 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [U-Boot] [PATCH V3 00/14] Add board detection for Odroid XU3 / XU3Lite / XU4
This patchset adds:
- 'cpu-model' dts property for Chromebook Peach Pi as Exynos5800
- set the cpu id of Exynos5422 to 0x5422
- S2MPS11 PMIC I/O driver
- ADC uclass implementation
- Exynos5420-compatible (9-channel, 12-bit) ADC driver
- new file for Exynos5: exynos5-dt-types.c
- board detection for Odroid XU3 / XU3lite / XU4
- fixed ADC value for XU4 detection
This was tested on Odroid XU3/XU3 Lite/XU4 and sandbox.
Tested with buildman for samsung.
Available on github:
https://github.com/bobenstein/u-boot/tree/xu3-detect-patchset-v1
https://github.com/bobenstein/u-boot/tree/xu3-detect-patchset-v2
https://github.com/bobenstein/u-boot/tree/xu3-detect-patchset-v3
Przemyslaw Marczak (14):
samsung: board/misc: check returned pointer for get_board_type() calls
s5p: cpu_info: print "cpu-model" if exists in dts
Peach-Pi: dts: add cpu-model string
Exynos5422/5800: set cpu id to 0x5422
dm: pmic: add s2mps11 PMIC I/O driver
dm: regulator: add function device_get_supply_regulator()
dm: adc: add simple ADC uclass implementation
dm: adc: add Exynos54xx compatible ADC driver
Odroid-XU3: enable s2mps11 PMIC support
Exynos54xx: dts: add ADC node
Odroid-XU3: dts: enable ADC, with request for pre-reloc bind
exynos5-dt-types: add board detection for Odroid XU3/XU3L/XU4.
sandbox: add ADC driver
sandbox: add ADC unit tests
arch/arm/cpu/armv7/s5p-common/cpu_info.c | 14 +- arch/arm/dts/exynos5422-odroidxu3.dts | 12 + arch/arm/dts/exynos54xx.dtsi | 7 + arch/arm/dts/exynos5800-peach-pi.dts | 1 + arch/arm/mach-exynos/clock.c | 16 +- arch/arm/mach-exynos/clock_init_exynos5.c | 2 +- arch/arm/mach-exynos/common_setup.h | 4 +- arch/arm/mach-exynos/include/mach/adc.h | 44 ++++ arch/arm/mach-exynos/include/mach/cpu.h | 6 +- arch/arm/mach-exynos/include/mach/gpio.h | 4 +- arch/arm/mach-exynos/pinmux.c | 2 +- arch/arm/mach-exynos/power.c | 2 +- arch/sandbox/dts/sandbox_pmic.dtsi | 2 +- arch/sandbox/dts/test.dts | 6 + board/samsung/common/Makefile | 5 +- board/samsung/common/board.c | 4 +- board/samsung/common/exynos5-dt-types.c | 196 ++++++++++++++ board/samsung/common/exynos5-dt.c | 12 + board/samsung/common/misc.c | 3 + configs/odroid-xu3_defconfig | 5 + configs/sandbox_defconfig | 2 + doc/device-tree-bindings/adc/adc.txt | 62 +++++ doc/device-tree-bindings/exynos/soc.txt | 21 ++ doc/device-tree-bindings/pmic/s2mps11.txt | 17 ++ drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/adc/Kconfig | 30 +++ drivers/adc/Makefile | 10 + drivers/adc/adc-uclass.c | 409 +++++++++++++++++++++++++++++ drivers/adc/exynos-adc.c | 145 ++++++++++ drivers/adc/sandbox.c | 174 ++++++++++++ drivers/power/pmic/Kconfig | 14 + drivers/power/pmic/Makefile | 1 + drivers/power/pmic/s2mps11.c | 62 +++++ drivers/power/regulator/regulator-uclass.c | 7 + include/adc.h | 288 ++++++++++++++++++++ include/configs/odroid_xu3.h | 12 + include/dm/uclass-id.h | 1 + include/power/regulator.h | 16 ++ include/power/s2mps11.h | 109 ++++++++ include/power/sandbox_pmic.h | 4 + include/samsung/exynos5-dt-types.h | 27 ++ test/dm/Makefile | 1 + test/dm/adc.c | 165 ++++++++++++ 44 files changed, 1904 insertions(+), 23 deletions(-) create mode 100644 board/samsung/common/exynos5-dt-types.c create mode 100644 doc/device-tree-bindings/adc/adc.txt create mode 100644 doc/device-tree-bindings/exynos/soc.txt create mode 100644 doc/device-tree-bindings/pmic/s2mps11.txt create mode 100644 drivers/adc/Kconfig create mode 100644 drivers/adc/Makefile create mode 100644 drivers/adc/adc-uclass.c create mode 100644 drivers/adc/exynos-adc.c create mode 100644 drivers/adc/sandbox.c create mode 100644 drivers/power/pmic/s2mps11.c create mode 100644 include/adc.h create mode 100644 include/power/s2mps11.h create mode 100644 include/samsung/exynos5-dt-types.h create mode 100644 test/dm/adc.c
Signature · 1 line
1.9.1