[PATCH linux dev-4.7 v5 2/2] ARM: dts: Enable checkstop and cooling gpio keys
Joel Stanley
joel at jms.id.au
Fri Apr 21 13:45:12 AEST 2017
On Fri, Apr 21, 2017 at 1:12 PM, Andrew Jeffery <andrew at aj.id.au> wrote:
> On Thu, 2017-04-20 at 23:19 -0400, Brad Bishop wrote:
>> Enable gpio-keys events for the checkstop and water/air cooled
>> gpios for use by applications on the Witherspoon system.
>>
>> Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
>
> Flip flop ;)
>
> Acked-by: Andrew Jeffery <andrew at aj.id.au>
The bike shed is green.
Merged to dev-4.7. Thanks for your patience Brad.
Cheers,
Joel
>
>> ---
>> arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts | 16 ++++++++++++++++
>> 1 file changed, 16 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
>> index e3a7b77..236696a 100644
>> --- a/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
>> +++ b/arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts
>> @@ -31,6 +31,22 @@
>> > };
>> > };
>>
>> > + gpio-keys {
>> > + compatible = "gpio-keys";
>> +
>> > + air-water {
>> > + label = "air-water";
>> > + gpios = <&gpio ASPEED_GPIO(B, 5) GPIO_ACTIVE_LOW>;
>> > + linux,code = <ASPEED_GPIO(B, 5)>;
>> > + };
>> +
>> > + checkstop {
>> > + label = "checkstop";
>> > + gpios = <&gpio ASPEED_GPIO(J, 2) GPIO_ACTIVE_LOW>;
>> > + linux,code = <ASPEED_GPIO(J, 2)>;
>> > + };
>> > + };
>> +
>> > leds {
>> > compatible = "gpio-leds";
>>
More information about the openbmc
mailing list