Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4166362pxb; Sun, 24 Oct 2021 21:49:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy58JyEDOuThajnhtMFyDEuKfbQIcK9snrEdZz/kbb3gMigJmVDzJn+qBYm8awxGE3BXNV9 X-Received: by 2002:a17:906:4f8c:: with SMTP id o12mr19755974eju.115.1635137394418; Sun, 24 Oct 2021 21:49:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1635137394; cv=pass; d=google.com; s=arc-20160816; b=pBCQwR6cvVOWVNlCUwAtMMLWSqRleI52B0t0G2h/SrVfdUUrZmWmD0/bFc3ajUybdL hentFPSmkJkng311QIps0NGiLjeNaLDjQQLLMXOU0oB5RvbAKy8urEats/oxCymDl2Ly QzfhxshKbljssQsgNDU6YAF4kY3xlTJ/TrDG8riBaQnK8hgkF7UeYzviS9HicPUEJuFA 3zvnkJ4eLPHPkvA4J6Hk+blUKKB8NVWPeQo5RI1KhBrsuyYLeGT3ZLEh/FHCgpjay2Ks mSduvV55tbnqLloG3M5ZZztnfuubjJGZjTKWwhW/4B14yvH6EwI8E5uhcEgCQjlhB24w gV8A== 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:from :references:cc:to:subject:dkim-signature; bh=fJZSsU8GGjAyve3sDOOa8Yw+07DNAh5XDCZ/vcSZP5c=; b=u2y77KqnGBLklyBS3IN9e4RyPX1CvWMAq4AAiltapre8GYLDlWrTEJbiQ8vt5jd/6G 3FhdgfwC/0AB9Nsi+Z3vBxF7ie+ruIV7jclmgTXMOzvOa9kY46gDCJuehvpZj/XREyQ8 WmpIXg6B9Dlv3iGPvC0RIBR4gz7ktRGwp7BE4kI1yym/QOiIlmrsi23CU5ZO+jLUYBBU llckbhG2rkSGFdDFgf5ZfODZ1FDQoACqWRYg0fgTIgtZT9Be3fdSnnC0Shc5fUHAI2RK DuNLoOoNz7JgUQ0YDmfnT1q68PzqUaJ4845zhsZbIUBfITwmN+ykqmlOruHhkQtHRgwQ ILcw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=mDNbpOLp; 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 s3si19402850ejs.386.2021.10.24.21.49.31; Sun, 24 Oct 2021 21:49:54 -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=mDNbpOLp; 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 S232206AbhJYEql (ORCPT + 99 others); Mon, 25 Oct 2021 00:46:41 -0400 Received: from mail-mw2nam08on2134.outbound.protection.outlook.com ([40.107.101.134]:36704 "EHLO NAM04-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230004AbhJYEqk (ORCPT ); Mon, 25 Oct 2021 00:46:40 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k9QC0mvZnINSqiK6BGKBN2ZAXFMvrot37S/jmPSsPJs/6jhbURP/Tff1V/qigrALdXVV9HbS9FFbDJaCf3sOMnQgfT1bwEIc3RARst0rY5xfFo7Z3d+a725dWTLdtnmg9G/H80OmEqEYOj7pBleQb/XlU9GCRG2Xb2Q8knXmDxt42Qn5ZvoInfCAa/i8Qv4F+d0pYVUuPrj7etod/4OnfNLkknRiN2ciEgTKSjlwoiOoKh+vgSfpU+Yrz32XM6SUscp/kP6TcuLw9E5QKmXbFoOgaHy1vSJmPDA5vZf+4X+6OSIv/v5dpTpnx2qTtkfA9eNllz8qFnUObQB4MF4tUw== 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=fJZSsU8GGjAyve3sDOOa8Yw+07DNAh5XDCZ/vcSZP5c=; b=a2VfaZivaYQjulHktlCcZ+vIIfbWJfyNCO3Yglrm8m9ofPHkCFohENhtEcxys/iTPjFyK4RL0mD+vsAVZ53A2wsONd3+wYIa1rBdd2nFLKrE7twAqtZ7tDWn2k/ecvxdIFHJLkMaPVCPfsZCphJwYOfCunMJqWBL/RM5q/4f55h+xQSilZh+y5ZtCfTQgPRwL2q1q+YtXu05dSD28WRf9qD0zd38Y8d4/KgyYjYsnGAuvkjswIz8ERXWYEw3O2boBRyWpQ6IbCMVpbwA/yD+DQg+EKfzdSI5KykwyDx49cdLjyQUdh3DjgL2LbuoqF7ZY1WM1IvP/XXHZIo4m7s2aA== 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=fJZSsU8GGjAyve3sDOOa8Yw+07DNAh5XDCZ/vcSZP5c=; b=mDNbpOLpaR2HsbJLJ4c26LHebvGoox3kLBADpUToDJ/ol6NCGvs0ZD93IbjLPzQBj9mQpUw1ft9rbFDVmI93ZpTf4gp4N8SwzPr/PonZAry3uxxskF73IwxiI8penpSDNWhnLGG55MLfrAQ6X0mJoOL5slcJKGNVn2jLwoDHDxE= 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 BYAPR01MB3943.prod.exchangelabs.com (2603:10b6:a02:82::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.16; Mon, 25 Oct 2021 04:44:14 +0000 Received: from SJ0PR01MB7282.prod.exchangelabs.com ([fe80::f14d:21a9:9ebf:2924]) by SJ0PR01MB7282.prod.exchangelabs.com ([fe80::f14d:21a9:9ebf:2924%9]) with mapi id 15.20.4628.020; Mon, 25 Oct 2021 04:44:14 +0000 Subject: Re: [PATCH v2 1/3] ARM: dts: aspeed: mtjade: Add some gpios 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> From: Quan Nguyen Message-ID: <87d82a93-cdc2-d95a-4ab9-085ff31c4387@os.amperecomputing.com> Date: Mon, 25 Oct 2021 11:44:04 +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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SG2PR02CA0083.apcprd02.prod.outlook.com (2603:1096:4:90::23) To SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) MIME-Version: 1.0 Received: from [IPv6:2402:800:623c:9072:446:faca:b614:6ba6] (2402:800:623c:9072:446:faca:b614:6ba6) by SG2PR02CA0083.apcprd02.prod.outlook.com (2603:1096:4:90::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18 via Frontend Transport; Mon, 25 Oct 2021 04:44:10 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fb481d79-5c03-4d2c-ede1-08d99772182e X-MS-TrafficTypeDiagnostic: BYAPR01MB3943: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: U/8GnZu3ffZ0f/UuEQ5fWOc12rjiTZ4lisJ3ZaM9gG6XQjGJ3qKqUFy917yhZOqbEYqXt5ktEcVgSHpoopqPVil/75/NQe7uimpSrHP//kRv6jzisjgIP+Ga2G2XxiRzqCp+PJAzQUtaim0ItbU2vsWP0B/Msyg0L47zKkJx10kVM8t54zoJ/nhluLPfbvgpDqguaeU0yZQ5/LH7tlY2k/IREIegDQL/zutsICBOzvLLUPmGFuIfmuY+O6ImV3t6AGjYnGc8VMPRRmVjz44hbTVjDU+VNOSDm8YfpYmznIIc1ILRYeyEW0Y7Fp74Lhp0n411LeJwA1uswNHKSNt/VTzRWHnnSrruiV0q1QXCWVvjt4GQAnEM8KE0TF7H0fkqeuMqOeUBZzw3FGdEp6psPHMjT7lZE0GglVl9mFmUOa5E8j9ZfD1l7p3S73QSktPU0DkdkyrsoSeTRWYpPzPMVWXk6wsuF8YTiPbtA+u66saXdYyLTDuVPX4dEjL/0trCM830uiCnr1qh/Pdu3Juop+wbE+S5jsuFiyh5eSQxZvwCmOlcoiEUXE+T6hG6axiX6ps572A+UE+cVwZjLp82Kw9BFbegV37RVR1+ob1KNaj800Zph7t1kjCk/erfArAXvSG5mkQp9vUr7L5XD/GAVposNitVwtJikjupaTfv0xw89G2GfAsUIhexpbhHkA4VvXS9m6hpphjc+OEvbNJ61mgkhExYQQlnVRhp+99p4/jme8+du9+xcV46PPg2J11VOQ26eUCWuW1aZYGFHYtvHE4e16DkOnMfBvgcWnQYqGCpqYvknrehfT+GPflsNVed 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)(186003)(31686004)(4326008)(6916009)(5660300002)(66556008)(66946007)(6666004)(2616005)(53546011)(107886003)(52116002)(8676002)(6486002)(66476007)(8936002)(38100700002)(966005)(86362001)(54906003)(316002)(508600001)(2906002)(31696002)(83380400001)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?amcva1Z0c0lZNlNXMnorT3JBWXhsMEpvdlVHYmdONmlWZ29OL0RUNzB0WU52?= =?utf-8?B?VzRMNGFEYVM5b0hwU2g2QllLY3ExcDh0Rzd6QXliVzJya3JHOVEreGNtUm43?= =?utf-8?B?VkZ1RXQ1aU1vNCs4SGttMUtoVVQ0WDM5UUZkTHZEcncrbDRTdUZYTTlyTHNO?= =?utf-8?B?R3N3ZXZiMERaaWxUWVFTWkpWRS83VHZRUkNDSmlMWGtlTmo1OUxFN3o5T0Qz?= =?utf-8?B?VWU2MlNDZEp5a05ldXhmWnFIbFlPUlp5TlNlRGVEWWpxdVVTQVQ0eCt5L1NP?=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0NXg2Yml4MmdZeWMvVGpi?= =?utf-8?B?V082bjlrdXJpd05xQlJIWm5mYkFFS2VlMUlqUjR3YjdMamd3WHo5WS8yOTJY?= =?utf-8?B?c0t6bmJoR21jQkdlSmhXV29IZmdKYksrZzRnM0ZYaERnRUQ1UjdiNmdUZzdL?= =?utf-8?B?RjNQTDVrSWlGZ1c3MzVUQno5eFV0S2R6RmxkNzFka0laYkFKY2lUWFdXRWdC?= =?utf-8?B?YlArdlRBc3BQNlFwdE5YczJodUNQMU5ZQmlseCsySzloN0huVzZuZz09?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: fb481d79-5c03-4d2c-ede1-08d99772182e X-MS-Exchange-CrossTenant-AuthSource: SJ0PR01MB7282.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2021 04:44:13.9591 (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: ineeb8T3nPiJzVWlsVA/oMzVzvT/Dqpc/cFNQSQbnfBnBb3yvyFWsZZczHZiFEcjKooYkAjHsD/g3PE/bKSaaTjRjYLUATbz5//F48hh1ws= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR01MB3943 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 >>