From mboxrd@z Thu Jan 1 00:00:00 1970
From: Przemyslaw Marczak
Date: Mon, 28 Sep 2015 12:19:54 +0200
Subject: [U-Boot] [PATCH V2 00/11] Add board detection for Odroid XU3 /
XU3Lite / XU4
In-Reply-To:
References: <1440770374-11501-1-git-send-email-p.marczak@samsung.com>
<1442838403-27777-1-git-send-email-p.marczak@samsung.com>
Message-ID: <5609144A.3000700@samsung.com>
List-Id:
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
To: u-boot@lists.denx.de
Hello Anand,
On 09/27/2015 02:20 PM, Anand Moon wrote:
> Hi Przemyslaw,
>
> On 21 September 2015 at 17:56, Przemyslaw Marczak 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
>
> -Anand Moon
>
>> --
>> 1.9.1
>>
>
Thank you for testing!
Best regards,
--
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com