Hi Przemyslaw, On 21 September 2015 at 17:56, Przemyslaw Marczak <p.marc...@samsung.com> wrote: > This patchset adds: > - CPU model in dts for Chromebook Peach Pi as Exynos5800 > - set the cpu id of Exynos5422 to 0x5422 > - S2MPS11 PMIC I/O driver > - 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 val for XU4 > > This was tested on Odroid XU3 and XU3 Lite, without the XU4, > but I'm waiting for reply from the Odroid forum users. > > 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 > > Przemyslaw Marczak (11): > 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: 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. > > 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 | 45 +++++++ > 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 +- > 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 + > doc/device-tree-bindings/pmic/s2mps11.txt | 17 +++ > drivers/Kconfig | 2 + > drivers/Makefile | 1 + > drivers/adc/Kconfig | 17 +++ > drivers/adc/Makefile | 9 ++ > drivers/adc/adc-uclass.c | 76 ++++++++++++ > drivers/adc/exynos-adc.c | 102 ++++++++++++++++ > drivers/power/pmic/Kconfig | 14 +++ > drivers/power/pmic/Makefile | 1 + > drivers/power/pmic/s2mps11.c | 60 +++++++++ > include/adc.h | 88 ++++++++++++++ > include/configs/odroid_xu3.h | 12 ++ > include/dm/uclass-id.h | 1 + > include/power/s2mps11.h | 109 +++++++++++++++++ > include/samsung/exynos5-dt-types.h | 27 ++++ > 33 files changed, 854 insertions(+), 22 deletions(-) > create mode 100644 board/samsung/common/exynos5-dt-types.c > 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/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 >
I have tested this patch on Odroid-XU3 and Odroid-XU4. Both using micoSD and eMMC cards. Tested-by: Anand Moon <linux.am...@gmail.com> -Anand Moon > -- > 1.9.1 > _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot