From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76775C433E0 for ; Fri, 12 Mar 2021 00:10:47 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CE34864F86 for ; Fri, 12 Mar 2021 00:10:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CE34864F86 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=jms.id.au Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4DxR6Y33prz3cZd for ; Fri, 12 Mar 2021 11:10:45 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=jms.id.au header.i=@jms.id.au header.a=rsa-sha256 header.s=google header.b=ODyeb8zs; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::82f; helo=mail-qt1-x82f.google.com; envelope-from=joel.stan@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; secure) header.d=jms.id.au header.i=@jms.id.au header.a=rsa-sha256 header.s=google header.b=ODyeb8zs; dkim-atps=neutral Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4DxR613DFlz3cc3 for ; Fri, 12 Mar 2021 11:10:16 +1100 (AEDT) Received: by mail-qt1-x82f.google.com with SMTP id x9so2576909qto.8 for ; Thu, 11 Mar 2021 16:10:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=seOvGMKeCGmcXGfDXXMmMQUJY8fxBKI/wKtMpSxggh0=; b=ODyeb8zs5CHxbr1UnqGo4pTZ0O8boSAEi/FYeu59/xmEh7oXYtDU7cRPB/c+evHoID 0yy2f5TvX4XJ67JByhG3bV+MYUXSEtxTid99tNE6stmaWdkSqdrnIG01YKNUl7XkkgL4 +FVCk/dA2gbz1bmILnsZXgRoqnz7JiG4gGQbI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=seOvGMKeCGmcXGfDXXMmMQUJY8fxBKI/wKtMpSxggh0=; b=WRqyPRM8x2u5MLPEN5ZNZ3r6XOwaXmXYzGR1UnVQ2dgs9yv+8oMV8jIO+oBzKM7VRN 8Eon73DZFrSYHIAFIodUESXwdzj0dGEjYpb3BU1dQiFrpYakh4Jega+u9ci1tNxcI6Kx PGoPg1TnAC0ZZUEH9uUjd3ajEKXzR2CqUNQ39qaL63bESeqPRKPq54FBKoa4mCWfTtas IuwsBleCbEevuwCzN57Dl/W9EXZ5vwoadC+RM7zoo0rJ4C3gFvPgMkz78Ui37sWiyTU0 XIwk7g7qYEGQBK1iPeluwKhBYw7L5SOhWbTHtU/n9IMTJItFgdizkMPRXBIv2ZtFp0CE vc2g== X-Gm-Message-State: AOAM531/SYnm/sDzyHo3j1BiKMNdyCQQ02vqudFi+2/uWa2jpOeCzh7w UAgNWf2E6J2xkoUUHqi+p5Zf6uQgKlQopznF2Nw= X-Google-Smtp-Source: ABdhPJwW9Lo98aSc0IdH9mGuCm8qoSUzccDDeeT5tkartBZlWH2EO+MX5QheMmP1BRyW6SyGWtjRb9NvpaS5JS7RgFA= X-Received: by 2002:ac8:7153:: with SMTP id h19mr10117341qtp.176.1615507814035; Thu, 11 Mar 2021 16:10:14 -0800 (PST) MIME-Version: 1.0 References: <20210308225419.46530-1-eajames@linux.ibm.com> <20210308225419.46530-8-eajames@linux.ibm.com> In-Reply-To: <20210308225419.46530-8-eajames@linux.ibm.com> From: Joel Stanley Date: Fri, 12 Mar 2021 00:10:02 +0000 Message-ID: Subject: Re: [PATCH linux dev-5.10 07/35] ARM: dts: aspeed: rainier: Add leds that are off pic16f882 To: Eddie James Content-Type: text/plain; charset="UTF-8" X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: OpenBMC Maillist Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" On Mon, 8 Mar 2021 at 22:54, Eddie James wrote: > > From: Vishwanatha Subbanna > > There are many LEDs that are connected to PIC16F882. > PIC has the software implementation of pca9552 Similar to the other PCA change, this change doesn't make sense. Configure the pca955x driver to drive the LEDs as LEDs. > > Signed-off-by: Vishwanatha Subbanna > --- > arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 690 +++++++++++++++++++ > 1 file changed, 690 insertions(+) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > index 514a14d3f914..32b63112091c 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > @@ -302,6 +302,336 @@ fan5 { > default-state = "keep"; > gpios = <&pca0 5 GPIO_ACTIVE_LOW>; > }; > + > + ddimm0 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 0 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm1 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 1 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm2 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 2 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm3 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 3 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm4 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 4 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm5 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 5 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm6 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 6 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm7 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 7 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm8 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 8 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm9 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 9 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm10 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 10 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm11 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 11 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm12 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 12 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm13 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 13 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm14 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 14 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm15 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic1 15 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm16 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 0 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm17 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 1 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm18 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 2 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm19 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 3 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm20 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 4 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm21 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 5 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm22 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 6 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm23 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 7 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm24 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 8 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm25 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 9 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm26 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 10 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm27 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 11 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm28 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 12 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm29 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 13 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm30 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 14 GPIO_ACTIVE_LOW>; > + }; > + > + ddimm31 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic2 15 GPIO_ACTIVE_LOW>; > + }; > + > + pcieslot0 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic3 0 GPIO_ACTIVE_LOW>; > + }; > + > + pcieslot1 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic3 1 GPIO_ACTIVE_LOW>; > + }; > + > + pcieslot2 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic3 2 GPIO_ACTIVE_LOW>; > + }; > + > + pcieslot3 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic3 3 GPIO_ACTIVE_LOW>; > + }; > + > + pcieslot4 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic3 4 GPIO_ACTIVE_LOW>; > + }; > + > + cpu1 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic3 5 GPIO_ACTIVE_LOW>; > + }; > + > + cpu1-vrm0 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic3 6 GPIO_ACTIVE_LOW>; > + }; > + > + lcd-russel { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic3 8 GPIO_ACTIVE_LOW>; > + }; > + > + planar { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 0 GPIO_ACTIVE_LOW>; > + }; > + > + cpu0 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 1 GPIO_ACTIVE_LOW>; > + }; > + > + dasd-pyramid0 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 3 GPIO_ACTIVE_LOW>; > + }; > + > + dasd-pyramid1 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 4 GPIO_ACTIVE_LOW>; > + }; > + > + dasd-pyramid2 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 5 GPIO_ACTIVE_LOW>; > + }; > + > + cpu0-vrm0 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 6 GPIO_ACTIVE_LOW>; > + }; > + > + rtc-battery { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 7 GPIO_ACTIVE_LOW>; > + }; > + > + base-blyth { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 8 GPIO_ACTIVE_LOW>; > + }; > + > + pcieslot6 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 9 GPIO_ACTIVE_LOW>; > + }; > + > + pcieslot7 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 10 GPIO_ACTIVE_LOW>; > + }; > + > + pcieslot8 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 11 GPIO_ACTIVE_LOW>; > + }; > + > + pcieslot9 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 12 GPIO_ACTIVE_LOW>; > + }; > + > + pcieslot10 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 13 GPIO_ACTIVE_LOW>; > + }; > + > + pcieslot11 { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 14 GPIO_ACTIVE_LOW>; > + }; > + > + tpm-wilson { > + retain-state-shutdown; > + default-state = "keep"; > + gpios = <&pic4 15 GPIO_ACTIVE_LOW>; > + }; > }; > > }; > @@ -1365,6 +1695,366 @@ gpio@7 { > }; > }; > > + pic1: pca9952@32 { > + compatible = "ibm,pca9552"; > + reg = <0x32>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + gpio-controller; > + #gpio-cells = <2>; > + > + gpio@0 { > + reg = <0>; > + type = ; > + }; > + > + gpio@1 { > + reg = <1>; > + type = ; > + }; > + > + gpio@2 { > + reg = <2>; > + type = ; > + }; > + > + gpio@3 { > + reg = <3>; > + type = ; > + }; > + > + gpio@4 { > + reg = <4>; > + type = ; > + }; > + > + gpio@5 { > + reg = <5>; > + type = ; > + }; > + > + gpio@6 { > + reg = <6>; > + type = ; > + }; > + > + gpio@7 { > + reg = <7>; > + type = ; > + }; > + > + gpio@8 { > + reg = <8>; > + type = ; > + }; > + > + gpio@9 { > + reg = <9>; > + type = ; > + }; > + > + gpio@10 { > + reg = <10>; > + type = ; > + }; > + > + gpio@11 { > + reg = <11>; > + type = ; > + }; > + > + gpio@12 { > + reg = <12>; > + type = ; > + }; > + > + gpio@13 { > + reg = <13>; > + type = ; > + }; > + > + gpio@14 { > + reg = <14>; > + type = ; > + }; > + > + gpio@15 { > + reg = <15>; > + type = ; > + }; > + }; > + > + pic2: pca9552@31 { > + compatible = "ibm,pca9552"; > + reg = <0x31>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + gpio-controller; > + #gpio-cells = <2>; > + > + gpio@0 { > + reg = <0>; > + type = ; > + }; > + > + gpio@1 { > + reg = <1>; > + type = ; > + }; > + > + gpio@2 { > + reg = <2>; > + type = ; > + }; > + > + gpio@3 { > + reg = <3>; > + type = ; > + }; > + > + gpio@4 { > + reg = <4>; > + type = ; > + }; > + > + gpio@5 { > + reg = <5>; > + type = ; > + }; > + > + gpio@6 { > + reg = <6>; > + type = ; > + }; > + > + gpio@7 { > + reg = <7>; > + type = ; > + }; > + > + gpio@8 { > + reg = <8>; > + type = ; > + }; > + > + gpio@9 { > + reg = <9>; > + type = ; > + }; > + > + gpio@10 { > + reg = <10>; > + type = ; > + }; > + > + gpio@11 { > + reg = <11>; > + type = ; > + }; > + > + gpio@12 { > + reg = <12>; > + type = ; > + }; > + > + gpio@13 { > + reg = <13>; > + type = ; > + }; > + > + gpio@14 { > + reg = <14>; > + type = ; > + }; > + > + gpio@15 { > + reg = <15>; > + type = ; > + }; > + }; > + > + pic3: pca9552@30 { > + compatible = "ibm,pca9552"; > + reg = <0x30>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + gpio-controller; > + #gpio-cells = <2>; > + > + gpio@0 { > + reg = <0>; > + type = ; > + }; > + > + gpio@1 { > + reg = <1>; > + type = ; > + }; > + > + gpio@2 { > + reg = <2>; > + type = ; > + }; > + > + gpio@3 { > + reg = <3>; > + type = ; > + }; > + > + gpio@4 { > + reg = <4>; > + type = ; > + }; > + > + gpio@5 { > + reg = <5>; > + type = ; > + }; > + > + gpio@6 { > + reg = <6>; > + type = ; > + }; > + > + gpio@7 { > + reg = <7>; > + type = ; > + }; > + > + gpio@8 { > + reg = <8>; > + type = ; > + }; > + > + gpio@9 { > + reg = <9>; > + type = ; > + }; > + > + gpio@10 { > + reg = <10>; > + type = ; > + }; > + > + gpio@11 { > + reg = <11>; > + type = ; > + }; > + > + gpio@12 { > + reg = <12>; > + type = ; > + }; > + > + gpio@13 { > + reg = <13>; > + type = ; > + }; > + > + gpio@14 { > + reg = <14>; > + type = ; > + }; > + > + gpio@15 { > + reg = <15>; > + type = ; > + }; > + }; > + > + pic4: pca9552@33 { > + compatible = "ibm,pca9552"; > + reg = <0x33>; > + #address-cells = <1>; > + #size-cells = <0>; > + > + gpio-controller; > + #gpio-cells = <2>; > + > + gpio@0 { > + reg = <0>; > + type = ; > + }; > + > + gpio@1 { > + reg = <1>; > + type = ; > + }; > + > + gpio@2 { > + reg = <2>; > + type = ; > + }; > + > + gpio@3 { > + reg = <3>; > + type = ; > + }; > + > + gpio@4 { > + reg = <4>; > + type = ; > + }; > + > + gpio@5 { > + reg = <5>; > + type = ; > + }; > + > + gpio@6 { > + reg = <6>; > + type = ; > + }; > + > + gpio@7 { > + reg = <7>; > + type = ; > + }; > + > + gpio@8 { > + reg = <8>; > + type = ; > + }; > + > + gpio@9 { > + reg = <9>; > + type = ; > + }; > + > + gpio@10 { > + reg = <10>; > + type = ; > + }; > + > + gpio@11 { > + reg = <11>; > + type = ; > + }; > + > + gpio@12 { > + reg = <12>; > + type = ; > + }; > + > + gpio@13 { > + reg = <13>; > + type = ; > + }; > + > + gpio@14 { > + reg = <14>; > + type = ; > + }; > + > + gpio@15 { > + reg = <15>; > + type = ; > + }; > + }; > + > dps: dps310@76 { > compatible = "infineon,dps310"; > reg = <0x76>; > -- > 2.27.0 >