Re: [PATCH v2] ARM: dts: exynos: Add power button for Odroid XU3/4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 12, 2017 at 01:57:54PM +0200, Marek Szyprowski wrote:
> From: Brian Kim <brian.kim@xxxxxxxxxxxxxx>
> 
> The power button (SW2) on Odroid XU3/4 is connected to the PWRON pin
> of the S2MPS11 PMIC.
> 
> The S2MPS11 datasheet says that ONOB pin operates as 'PWRON key active
> low signal'. In fact, S2MPS11 PMIC acts as a 16ms debouce filter and
> signal inverter, thus effectively repeating PWRON (active high) to ONOB
> pin (active low).
> 
> ONOB PMIC pin is then connected to XEINT3 SoC pin, so we get the state
> of the power button on the gpx0-3 GPIO.
> 
> This patch adds device-tree bindings for the power button of Odroid
> XU3/4 boards.
> 
> Signed-off-by: Brian Kim <brian.kim@xxxxxxxxxxxxxx>
> [mszyprow: extended commit message, added comments and fixed minor
>  issues in the dts]
> Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
> ---
> Changelog:
> 
> v2: fixed minor issues pointed by Krzysztof Kozlowski:
> - added comments to dts
> - extended commit message
> - removed useless interrupts property
> - used proper macros for gpios
> - removed gpio prefix
> 
> v1: initial submission
> https://patchwork.kernel.org/patch/9605023/
> 
> ---
>  arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 29 ++++++++++++++++++++++
>  1 file changed, 29 insertions(+)
>

Thanks, Marek (and Bartlomiej from other thread), for working on these
patches. Nice job!

Applied.

Best regards,
Krzysztof

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux