From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eddie James Date: Fri, 28 Feb 2020 09:14:52 -0600 Subject: [PATCH v2] ARM: dts: rainier: Set PCA9552 pin types In-Reply-To: <20200225201415.431668-1-msbarth@linux.ibm.com> References: <20200225201415.431668-1-msbarth@linux.ibm.com> Message-ID: <59ceccbd-b776-51fc-e80b-39427c70ec70@linux.ibm.com> List-Id: To: linux-aspeed@lists.ozlabs.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On 2/25/20 2:14 PM, Matthew Barth wrote: > All 16 pins of the PCA9552 at 7-bit address 0x61 should be set as type > GPIO. > > Signed-off-by: Matthew Barth Reviewed-by: Eddie James > --- > v2: Added leds-pca955x.h include > Added upstream to patch > --- > --- > arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > index c63cefce636d..d9fa9fd48058 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > @@ -4,6 +4,7 @@ > > #include "aspeed-g6.dtsi" > #include > +#include > > / { > model = "Rainier"; > @@ -351,66 +352,82 @@ > > gpio at 0 { > reg = <0>; > + type = ; > }; > > gpio at 1 { > reg = <1>; > + type = ; > }; > > gpio at 2 { > reg = <2>; > + type = ; > }; > > gpio at 3 { > reg = <3>; > + type = ; > }; > > gpio at 4 { > reg = <4>; > + type = ; > }; > > gpio at 5 { > reg = <5>; > + type = ; > }; > > gpio at 6 { > reg = <6>; > + type = ; > }; > > gpio at 7 { > reg = <7>; > + type = ; > }; > > gpio at 8 { > reg = <8>; > + type = ; > }; > > gpio at 9 { > reg = <9>; > + type = ; > }; > > gpio at 10 { > reg = <10>; > + type = ; > }; > > gpio at 11 { > reg = <11>; > + type = ; > }; > > gpio at 12 { > reg = <12>; > + type = ; > }; > > gpio at 13 { > reg = <13>; > + type = ; > }; > > gpio at 14 { > reg = <14>; > + type = ; > }; > > gpio at 15 { > reg = <15>; > + type = ; > }; > }; > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=linux.ibm.com (client-ip=148.163.158.5; helo=mx0a-001b2d01.pphosted.com; envelope-from=eajames@linux.ibm.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 48TY5k4BFmzDrFd; Sat, 29 Feb 2020 02:16:09 +1100 (AEDT) Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01SFFcKc105420; Fri, 28 Feb 2020 10:16:00 -0500 Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 2yepxphvrr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Feb 2020 10:15:59 -0500 Received: from m0098413.ppops.net (m0098413.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 01SFFxa3107442; Fri, 28 Feb 2020 10:15:59 -0500 Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0b-001b2d01.pphosted.com with ESMTP id 2yepxphuy1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Feb 2020 10:15:56 -0500 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 01SFC17N007473; Fri, 28 Feb 2020 15:14:55 GMT Received: from b01cxnp22036.gho.pok.ibm.com (b01cxnp22036.gho.pok.ibm.com [9.57.198.26]) by ppma03dal.us.ibm.com with ESMTP id 2yepv2pkys-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Feb 2020 15:14:55 +0000 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 01SFEshx16253840 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 28 Feb 2020 15:14:54 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 333582805C; Fri, 28 Feb 2020 15:14:54 +0000 (GMT) Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3C33028068; Fri, 28 Feb 2020 15:14:53 +0000 (GMT) Received: from [9.211.148.203] (unknown [9.211.148.203]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP; Fri, 28 Feb 2020 15:14:53 +0000 (GMT) Subject: Re: [PATCH v2] ARM: dts: rainier: Set PCA9552 pin types To: Matthew Barth , Joel Stanley , Andrew Jeffery , openbmc@lists.ozlabs.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Brandon Wyman References: <20200225201415.431668-1-msbarth@linux.ibm.com> From: Eddie James Message-ID: <59ceccbd-b776-51fc-e80b-39427c70ec70@linux.ibm.com> Date: Fri, 28 Feb 2020 09:14:52 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200225201415.431668-1-msbarth@linux.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-02-28_04:2020-02-28, 2020-02-28 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 phishscore=0 spamscore=0 suspectscore=0 clxscore=1015 bulkscore=0 mlxlogscore=999 priorityscore=1501 mlxscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002280121 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: , X-List-Received-Date: Fri, 28 Feb 2020 15:16:11 -0000 On 2/25/20 2:14 PM, Matthew Barth wrote: > All 16 pins of the PCA9552 at 7-bit address 0x61 should be set as type > GPIO. > > Signed-off-by: Matthew Barth Reviewed-by: Eddie James > --- > v2: Added leds-pca955x.h include > Added upstream to patch > --- > --- > arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > index c63cefce636d..d9fa9fd48058 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > @@ -4,6 +4,7 @@ > > #include "aspeed-g6.dtsi" > #include > +#include > > / { > model = "Rainier"; > @@ -351,66 +352,82 @@ > > 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 = ; > }; > }; > 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=-8.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 8F454C3F2D3 for ; Fri, 28 Feb 2020 15:16:09 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 6107724699 for ; Fri, 28 Feb 2020 15:16:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="S3Y9PNIk" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6107724699 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ELSTg9lLwzi1jiyxMnHSh0H6T0lgg+7+vfgNgDchD0k=; b=S3Y9PNIkKR9r+97Ad+t86rfCN h2ZMqmy2knca8uCrp83TNd9CptRlF3PmTboYBw7HEv+vnKwR719pSXlg+vJsN/aya8ysK6x8y6QiG 6rpIbJ3NywS497NtMgAfM+iJiDCLLUnwY6e72Npk5sjONmeRFusJhcAsWxcfwOvo9jrjRHJv1+FKE cFr5AQ8LEuQkN1SorfsrJvb1fc1a2euukiXskZwDkyiWS50MsYwnszQ3Fy/udt7mVzYfAHwATKiQ5 pIEHTZBeKkq3SP+rlCqak35H4WTqGymYwPezt1PMC3ZhkCJrawgO0gFY/tKHIdM9w2o9pampP9frj 6J6z9WQXw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j7hN2-0002Lg-RY; Fri, 28 Feb 2020 15:16:08 +0000 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5] helo=mx0a-001b2d01.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j7hMz-0002Iq-H2 for linux-arm-kernel@lists.infradead.org; Fri, 28 Feb 2020 15:16:07 +0000 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01SFFcKc105420; Fri, 28 Feb 2020 10:16:00 -0500 Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 2yepxphvrr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Feb 2020 10:15:59 -0500 Received: from m0098413.ppops.net (m0098413.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 01SFFxa3107442; Fri, 28 Feb 2020 10:15:59 -0500 Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0b-001b2d01.pphosted.com with ESMTP id 2yepxphuy1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Feb 2020 10:15:56 -0500 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 01SFC17N007473; Fri, 28 Feb 2020 15:14:55 GMT Received: from b01cxnp22036.gho.pok.ibm.com (b01cxnp22036.gho.pok.ibm.com [9.57.198.26]) by ppma03dal.us.ibm.com with ESMTP id 2yepv2pkys-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 28 Feb 2020 15:14:55 +0000 Received: from b01ledav001.gho.pok.ibm.com (b01ledav001.gho.pok.ibm.com [9.57.199.106]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 01SFEshx16253840 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 28 Feb 2020 15:14:54 GMT Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 333582805C; Fri, 28 Feb 2020 15:14:54 +0000 (GMT) Received: from b01ledav001.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3C33028068; Fri, 28 Feb 2020 15:14:53 +0000 (GMT) Received: from [9.211.148.203] (unknown [9.211.148.203]) by b01ledav001.gho.pok.ibm.com (Postfix) with ESMTP; Fri, 28 Feb 2020 15:14:53 +0000 (GMT) Subject: Re: [PATCH v2] ARM: dts: rainier: Set PCA9552 pin types To: Matthew Barth , Joel Stanley , Andrew Jeffery , openbmc@lists.ozlabs.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, Brandon Wyman References: <20200225201415.431668-1-msbarth@linux.ibm.com> From: Eddie James Message-ID: <59ceccbd-b776-51fc-e80b-39427c70ec70@linux.ibm.com> Date: Fri, 28 Feb 2020 09:14:52 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200225201415.431668-1-msbarth@linux.ibm.com> Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-02-28_04:2020-02-28, 2020-02-28 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 phishscore=0 spamscore=0 suspectscore=0 clxscore=1015 bulkscore=0 mlxlogscore=999 priorityscore=1501 mlxscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002280121 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200228_071605_683290_097FA0D0 X-CRM114-Status: GOOD ( 17.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2/25/20 2:14 PM, Matthew Barth wrote: > All 16 pins of the PCA9552 at 7-bit address 0x61 should be set as type > GPIO. > > Signed-off-by: Matthew Barth Reviewed-by: Eddie James > --- > v2: Added leds-pca955x.h include > Added upstream to patch > --- > --- > arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > index c63cefce636d..d9fa9fd48058 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts > @@ -4,6 +4,7 @@ > > #include "aspeed-g6.dtsi" > #include > +#include > > / { > model = "Rainier"; > @@ -351,66 +352,82 @@ > > 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 = ; > }; > }; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel