Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2821153pxb; Mon, 1 Nov 2021 02:30:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxjOzAixZ3X3PY5euVO2YAyrNw4/CuT696y/+D9m4pUUMQJuFOfhHdWcd96sIoPS99yfmle X-Received: by 2002:a02:ce99:: with SMTP id y25mr6261318jaq.73.1635759029556; Mon, 01 Nov 2021 02:30:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1635759029; cv=pass; d=google.com; s=arc-20160816; b=TpZQ5mZhXWeECbJCiTUHHOseOgcsNt6kFEXMmpdEjSkoLnUBDdcf7Yh4hQ2V20Hx6W eM1Ty3Y8NXtXxQx5hBpfbUimmn4PXg7u0Tm1bWBqyQwzt4YFMH88ZEyQ5D4QAdFUXVap GvVwfOjNMGm9HVcg+Scj/cKCNAUvh7M0pVoI+teUha2H73zjcaBQy4wxvWdNx2eB+mcN RYDytDv+Iys0Sm/2a3PuQ1JIm5S8UCQkQ5QHHyvPZQLsPNc3gOZAlRIGQ7mVPe729OeZ cnK+bWOpxLE0wbGlnQJnPKt9W6PIND+GCmFHyT8qbb+tYwIzYP0ol/TT955j8yOAlLBf v5Ug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:in-reply-to:user-agent:date:message-id:references :cc:to:from:subject:dkim-signature; bh=kqblyUT8jhsW9iaKrC6xq886j8rTGsq2fEix2t8Shko=; b=EdlLpmEhWpNkaQEN+OOdKM73SISV3IPzFC647DPOgEPKsOjElk+L2dQoU6h25kKuUY AJrJecE38uNEjsf6bVUIJEUb3OBzpIcR7VwRBbEys31lTaweIn9lQ56AxSncobQFqf9g DLMNyF5ABUq9qz1YbNZUySDPHlwLuZNiiHrYPCPL6xVy3koEkkXdyID0B8W0G+KZ/Tz8 Kj3LqyaUGfddJ7gNnNKFgNhRcRHr7doQYW/rYhXBcrPdI/CciKpMZgd4u72iUTuEkZIm jnhU/upsSEltNbbd9E/SOLhJbYA+tmJ85IS5clO8/mN8ax509nWeAokkDeG/nYLNcMIj xlJQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=rJPb73Qe; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g1si6553663ild.32.2021.11.01.02.30.18; Mon, 01 Nov 2021 02:30:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=rJPb73Qe; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232387AbhKAJbu (ORCPT + 99 others); Mon, 1 Nov 2021 05:31:50 -0400 Received: from mail-bn7nam10on2098.outbound.protection.outlook.com ([40.107.92.98]:45857 "EHLO NAM10-BN7-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S233093AbhKAJ2X (ORCPT ); Mon, 1 Nov 2021 05:28:23 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HgWsNAjN3M18rIr6hNy//nNNwwKE76lM9J9u9zm73jt+2uiH2+bB7Z4HoJEBV6FsKHp50J4wE53wc4KwsBcifX3vRXQ/STMVA6Nj8MGX+3Mv5tlEiIeHfMa6ujTF2rmQ8Vw1/k8IF0Od2u86lyHTkANsJ8DoX9CWmIYwh+NXiMOnBOKJ5pT5IMz0CFJNovHiu3wCZbFS4knzwwq16+8QhA7DkayM+TY29xIrk0ZRVxhMvU6LPjrOEBBB7zphOJlUx64vbi/CvuiCD+0QeccsRzfmDe3eqCfiwrZQseAc0Tn7krHDHh8Fvwoj4rQvrti3hHD26SiubPcu86SIFJPDKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=kqblyUT8jhsW9iaKrC6xq886j8rTGsq2fEix2t8Shko=; b=g84uAGPb3m0WcvF+0NEET44K3WmUC/bTKolzUJktgU4AodY+9XYObMXySwoPb39JBERvr+AUfIAI4fnbYIsKI26s49cCbYRb2DxnPepZGRch3FrO2DdzfFK/tqW2883Y6IlGBud4gdQRC6FwOwR7M5t4Xe5MmkTG1/T5OBtQM+PzXJitUFXdlucjErWnK5pX2aQxqzQ6LpZvgZ/hXMfFWcvXAhu5US6UhF4L8YXgMeXFVFl/ib4RgUyYb1s0rnTefHuLP+VKvwg48fes9G/CiaRRI3WoSXTIXccXmWhExsCnvYAwghuOLC+6HSU3XKWimNw1gEnarW+Mp/0MoTu3aA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kqblyUT8jhsW9iaKrC6xq886j8rTGsq2fEix2t8Shko=; b=rJPb73QeNPDpSMFcGiQU1Y+eBmlcipP4zQv5YisXXYv4ftWvsy7RpWGJp42vTz5F2fK0xnNM38vmqiRYcCa8WyCaZGrnogdIXalbpEIdlb2ksExE+aT63iwf7j0JN4jxVcskMgSrgdhltTjP93EapPmWlY+HYaztkFTNpDw3Dz8= Authentication-Results: os.amperecomputing.com; dkim=none (message not signed) header.d=none;os.amperecomputing.com; dmarc=none action=none header.from=os.amperecomputing.com; Received: from SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) by SJ0PR01MB7415.prod.exchangelabs.com (2603:10b6:a03:3e0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15; Mon, 1 Nov 2021 09:25:47 +0000 Received: from SJ0PR01MB7282.prod.exchangelabs.com ([fe80::c880:9ded:28e8:345a]) by SJ0PR01MB7282.prod.exchangelabs.com ([fe80::c880:9ded:28e8:345a%7]) with mapi id 15.20.4649.019; Mon, 1 Nov 2021 09:25:47 +0000 Subject: Re: [PATCH v2 1/3] ARM: dts: aspeed: mtjade: Add some gpios From: Quan Nguyen To: Joel Stanley Cc: Rob Herring , Andrew Jeffery , devicetree , Linux ARM , linux-aspeed , Linux Kernel Mailing List , OpenBMC Maillist , Open Source Submission , Phong Vo , "Thang Q . Nguyen" References: <20211019060155.945-1-quan@os.amperecomputing.com> <20211019060155.945-2-quan@os.amperecomputing.com> <87d82a93-cdc2-d95a-4ab9-085ff31c4387@os.amperecomputing.com> Message-ID: <4eb31178-cf05-24cd-6a75-6628689cef25@os.amperecomputing.com> Date: Mon, 1 Nov 2021 16:25:38 +0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 In-Reply-To: <87d82a93-cdc2-d95a-4ab9-085ff31c4387@os.amperecomputing.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: HK2PR03CA0043.apcprd03.prod.outlook.com (2603:1096:202:17::13) To SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) MIME-Version: 1.0 Received: from [192.168.10.85] (115.77.54.81) by HK2PR03CA0043.apcprd03.prod.outlook.com (2603:1096:202:17::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.6 via Frontend Transport; Mon, 1 Nov 2021 09:25:43 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d24f3781-ee90-4fb2-e45b-08d99d199676 X-MS-TrafficTypeDiagnostic: SJ0PR01MB7415: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: L98JFjZHFk6qCMmHoLHsZrULjNvgEsLtATnPMNB1W5t3Vp8qJU/k8uqd0EPJUksApleaYoduutNMWiCv570+RPxkgzg3u+MN9o59IxMo9Or58kRPgFm1EouE6VwzND+gwG+4DY+4qXh67DoCQBB9L68fKd0yKNO64xw4gX76FaS7GjrBU5CLJkmlD4/6G4IgSFFh/ECkuZd0yslOtbfoLGkKcNvv2MqIUDVoSV162DB30M1RGVKRJyQiw0ryBO75zUMKDg+rEkkX9P8y9arfzlO/8lpsi/t6Zb5/O0QyvnE7bt5Pj4rYcX3GYL1fn+J4MIMyueZtPShWX4aKDYMJn+Em+VvVw8SHUiKiSWjILJXpyp9S+PKLMfxts7w9e0vsfdtXBFgRu+6pZfkaXS8eWexfL9wPTgaoyM6E3ckyfaqhdQXwYLw7mDVHQ7SFwlGhQP88QDqqDNS49D1sQH99A0al3wEWf72dhQO7iBggRUoa9Zih1A4dMA908Ci5uMSf2tS5n5bsXdFD5gKExKm8MfQdwsk8VvEMb3fLZgeoNhi4Z+itiSIH5yUWPgzabZ4cV1HIa2ECzgjkYUHAOxToolZGbylhQdK70pFWsIIjbr/kmWdo5xA1ZIp+P13Vf/cwYun3cgOyBsBMjbyLrAuOte5Q8amaGh7Q5iV4xAX613OBeld5//e9w2NMso3KnlQ4dR/tblnwYE8nmttlMd1NRG6mjAdhYvzkPC3J6lYmwn5/VqMHHnOivfF896e1YlMtL8V1xV7/lcd/MYVu48U/8fZ4LTlTfLBBTh68nXiF4Xhfw+OyfmFcOGHI9V3YdpFwAiPQ93CFh1iuQmAKCj1gyJ0z019GSD3xwy7A+bR0VkG+0NE6PA9/SagQztbLHmGP X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR01MB7282.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(26005)(53546011)(966005)(508600001)(31696002)(2616005)(956004)(107886003)(86362001)(31686004)(52116002)(66946007)(4326008)(38100700002)(316002)(16576012)(38350700002)(83380400001)(6916009)(8936002)(66476007)(2906002)(8676002)(54906003)(5660300002)(186003)(66556008)(6486002)(6666004)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?L3M0OEJlT1pMMUZkdDFkQStSdU5OVU0rTEpyWk14RjdwZ29KMjFmYTRiVW5N?= =?utf-8?B?b1BRUStKdDMrYWdEdENjSTF2V0tZNjhTeHBydUlUR2pwRE51Q1c3ZEJhWk4y?= =?utf-8?B?MXduNWY1ZkVPeVpSZHRmY0NuRWQrd2dSZ09GdnZvZ1JlN2c2NUJaL1B2Tnox?= =?utf-8?B?RExicWU5VDhxK2hKejBrakRmODIxR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?= =?utf-8?B?d3FOVzV4V0RIZUJHb3lRY1pieVA3d3BEMWVjenJvNTJ3eDh4S2Z2eEZLcEhH?= =?utf-8?B?YW43SlNGTnFzN29IRnowbUprRmhmOUNaeFpWSEdqVDVyVTFXaHlVRC81YWFi?= =?utf-8?B?TkJRZUFCSlJPallmaytkTHJVdDVNcVZwMG1VaU9xd2RrT2t1RWpvSG5rY2h0?= =?utf-8?B?dG1wZzA3a0RuQ2pJL2ZyczhJL3NZVEE4ZU1YUnVYaXRnY0M2N2JVcTgrdEc0?= =?utf-8?B?MGdraUh4RFVmS2RtWmhPVFNFWExBPT0=?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: d24f3781-ee90-4fb2-e45b-08d99d199676 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR01MB7282.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Nov 2021 09:25:47.6331 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iACUcMsSKxYPDsqAgovTNy5ehWPlI0kf1NXgHXL3W7uB6wQOSM1wDb2EUPddbK2Wkza6+lHK+ycTCMGNtiihh3C/q1x1dsG6sc2LWEY395k= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR01MB7415 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Joel, I found this patch appears in linux-next tree as in [1], can we expect the remain two patches in this patchset ([2] and [3]) will be merged soon? [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20211029&id=0b32c1b4071c482f2cf98b717cfc7380423ec619 [2] https://www.spinics.net/lists/kernel/msg4115571.html [3] https://www.spinics.net/lists/kernel/msg4115572.html Thanks, - Quan On 25/10/2021 11:44, Quan Nguyen wrote: > On 19/10/2021 13:46, Joel Stanley wrote: >> On Tue, 19 Oct 2021 at 06:02, Quan Nguyen >> wrote: >>> >>> Add S0_SCP_AUTH_FAIL, S1_SCP_AUTH_FAIL gpios to indicates firmware >>> authentication fail on each socket. >> >> These use the gpio-keys API to expose the GPIOs. I think OpenBMC is >> moving away from this abstraction, and instead reading the GPIOs with >> the gpio chardev interface. >> > Thanks Joel for the review, > Yes, will switch to use gpio chardev interface and will remove these > gpio-keys defined in next version > >>> >>> Add gpio RTC_BAT_SEN_EN to enable RTC battery adc sensor. >>> >>> Add BMC_I2C4_O_EN gpio to go high at boot to enable access to I2C4 bus. >> >> OpenBMC has started a process to document GPIOs that are exposed to >> userspace, initially so a common userspace can be used across >> machines. I like doing it for the additional reason that it provides >> consistency in the naming. >> >> https://github.com/openbmc/docs/blob/master/designs/device-tree-gpio-naming.md >> >> >> If you could take a look at that document and add your GPIOs where >> possible, and then update the device tree. >> > > There is on-going discussion about naming of the RTC voltage sensing > enable gpio pin in [1], So I'd like to address this change later in > separate patch when this is settled. Hence, I will remove this changes > in next version. > > [1] https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/48018 > > About the BMC_I2C4_O_EN, this is needed as gpio-hog to make the i2c bus > accessible at boot time so I will keep this in next version. > In fact, I'm still a bit of confuse if this pin needs a common name as > it is just to enable the bus access and does not serve for any > particular common purpose. > > Thanks, > - Quan > >>> >>> Signed-off-by: Quan Nguyen >>> Signed-off-by: Thang Nguyen >>> --- >>> v2: >>>    - None >>> >>>   .../arm/boot/dts/aspeed-bmc-ampere-mtjade.dts | 21 ++++++++++++++++++- >>>   1 file changed, 20 insertions(+), 1 deletion(-) >>> >>> diff --git a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts >>> b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts >>> index 57b0c45a2298..3515d55bd312 100644 >>> --- a/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts >>> +++ b/arch/arm/boot/dts/aspeed-bmc-ampere-mtjade.dts >>> @@ -86,6 +86,18 @@ S0_cpu_fault { >>>                          linux,code = ; >>>                  }; >>> >>> +               S0_scp_auth_fail { >>> +                       label = "S0_SCP_AUTH_FAIL"; >>> +                       gpios = <&gpio ASPEED_GPIO(J, 2) >>> GPIO_ACTIVE_LOW>; >>> +                       linux,code = ; >>> +               }; >>> + >>> +               S1_scp_auth_fail { >>> +                       label = "S1_SCP_AUTH_FAIL"; >>> +                       gpios = <&gpio ASPEED_GPIO(Z, 5) >>> GPIO_ACTIVE_LOW>; >>> +                       linux,code = ; >>> +               }; >>> + >>>                  S1_overtemp { >>>                          label = "S1_OVERTEMP"; >>>                          gpios = <&gpio ASPEED_GPIO(Z, 6) >>> GPIO_ACTIVE_LOW>; >>> @@ -590,7 +602,7 @@ &gpio { >>>          /*Q0-Q7*/       "","","","","","UID_BUTTON","","", >>>          /*R0-R7*/       "","","BMC_EXT_HIGHTEMP_L","OCP_AUX_PWREN", >>>                          "OCP_MAIN_PWREN","RESET_BUTTON","","", >>> -       /*S0-S7*/       "","","","","","","","", >>> +       /*S0-S7*/       "","","","","RTC_BAT_SEN_EN","","","", >> >> I suggest you create a proposal to call this one >> battery-voltage-read-enable. I know that some of the IBM machines >> intend to have this same GPIO. >> >>>          /*T0-T7*/       "","","","","","","","", >>>          /*U0-U7*/       "","","","","","","","", >>>          /*V0-V7*/       "","","","","","","","", >>> @@ -604,4 +616,11 @@ &gpio { >>>                          "S1_BMC_DDR_ADR","","","","", >>>          /*AC0-AC7*/ >>> "SYS_PWR_GD","","","","","BMC_READY","SLAVE_PRESENT_L", >>>                          "BMC_OCP_PG"; >>> + >>> +       i2c4_o_en { >>> +               gpio-hog; >>> +               gpios = ; >>> +               output-high; >>> +               line-name = "BMC_I2C4_O_EN"; >>> +       }; >>>   }; >>> -- >>> 2.28.0 >>> >