Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4259510rwl; Mon, 10 Apr 2023 08:22:56 -0700 (PDT) X-Google-Smtp-Source: AKy350aIHbmS9JjPaMn4/0ZH5qVV9s02hMsxogZnbaDnORkuDm6oqlGaUQvDv8s9jKcCFVbkOXPx X-Received: by 2002:a17:90b:384f:b0:23d:48a9:3400 with SMTP id nl15-20020a17090b384f00b0023d48a93400mr14670749pjb.31.1681140176022; Mon, 10 Apr 2023 08:22:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681140176; cv=none; d=google.com; s=arc-20160816; b=Smpxk+3JBJqvrDlGzIImSnSrV+nkT9HFTdh/0COuu5Wb0hmcQ3MN8d/FZce+YjfT+g vEhy8Xa3NzZlyrXDH4EHoioDFovUUDvlVOQqIfrg3YGrIoEzvloT536D7w5KxsM91eD4 IHoLYyGf5+nZVFVfxuNgNm5O3jUltwUu2LNO36275rfJJL9juIwA/WFQxs2fjcX8pKXC wW7FxLQ/s2oDol2+K+WaATv7ztHcuNFIk/rNf99VingRRo8RlV1W80SjqxCwG2aVvVg5 Hr7P2M+sBIq2nTeGM8EIjmvSXoBix2IvWM+IT2GZVY96y1O02HjN/62mv9Ir3pTuHgDZ 1rWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ZZRw2wqvE/1MC1yZ0G5iCqLIwh8QF13oSGU/qO0zu+o=; b=olsyhdr+NfU7wapxVPGezsSKlyJ071GAo2yeTSW7HxCFb55Psreu/XqyJfva74RQsc QjsXgkKplIH39nV/jBNMmkzg2q1kfzE6C57SiL5GfrmggkcK0LySMGGxGUy5x2W+1Enx AdEDeZKHK1J2mbFEYcYN2Qihdktd7Z6O1LvbQWvxi+nGofPItyqY+nIo2NXTXK6ajaEk y/3ddl+NTJA5TTC0fPYwqwOhlpLfcR/bAWrzm/4wOsG+0Z6DOzqDCIlD5bWF0zvLhwIV T/OUFox+U4rzCan1q0+vrY+i68csckLXGSTzYSc51X6LTuI1AJdLkX73TMgUbQUBIcuN fIgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="NYo/3/co"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v20-20020a63f214000000b00508c9686f50si11006843pgh.225.2023.04.10.08.22.44; Mon, 10 Apr 2023 08:22:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="NYo/3/co"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229670AbjDJPVO (ORCPT + 99 others); Mon, 10 Apr 2023 11:21:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229663AbjDJPVM (ORCPT ); Mon, 10 Apr 2023 11:21:12 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ED5846B9 for ; Mon, 10 Apr 2023 08:21:11 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id kt17so1052156ejb.11 for ; Mon, 10 Apr 2023 08:21:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681140070; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=ZZRw2wqvE/1MC1yZ0G5iCqLIwh8QF13oSGU/qO0zu+o=; b=NYo/3/coo0c/yMIO7bncY2O4PQowzUY4HreJOHBoBdj/x/RT9LPYs4ujUtFPQI+WqW Bxc9fR08xu5vm9VS6WFaCprSpdIAtUR6LsjR9LnFAETjS+VrCEtoYq3PzHzsqy/M4Uls d6+XvtbngL3LscT0riA721aHMiTkyQjxPYRDQfqlV8BTrWJH6AzeZ2LeRg9rsVNtoZmJ hVp9RTmhyPI8hSl0Qp0w8iv9r2bbaeu1jgXTcqpn2kb/x9clBGSQLRfPu7BZxokZZGwq Z9zuTz6iZZvKScRfWUaqJOebbbRn/wyv2jQ7p1YharDKr3joVIx9E9uAp1SRaR0ByNXp INxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681140070; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZZRw2wqvE/1MC1yZ0G5iCqLIwh8QF13oSGU/qO0zu+o=; b=nPts5Pc+5lblf7eul3zybyuWJbbz/2HI1Eu2hocezhMMHJn/WZyoOD+QyyzyW89hur G6J3vyKado9OMyFUwwZTj/HJqTHff1qDb4AbYrANS3y12YC6ywiS6D/GNy2l0x0IB405 MwVY1KEFdx4zKQ6tbGfJtXXNB7jsdVkYddJtkJI4j6ST7AS6a/jR5miQbjxzJ7JLC8At RQUzWPD/EPptyhlRvvqHpBFun8bPPp7Pwd5S9s6FyRXfcpFeRnbyK0A2l1ZM0lsIZGue ctwAwh17GiV9wDU42NxmusEYHedJt4xEFvrQ8DcgzWFl6QwV/sc6wQkmqwURRo4Bk4RC wX5Q== X-Gm-Message-State: AAQBX9f6tLVvK1OLPtAzliIquCvKqVNi+lkAAdsLQt0hcnkg/8nrK0Ig UeDRd7d+fC48Q3fQvPMYXMn9ig== X-Received: by 2002:a17:907:c60f:b0:94a:6fe4:c309 with SMTP id ud15-20020a170907c60f00b0094a6fe4c309mr3938620ejc.16.1681140069909; Mon, 10 Apr 2023 08:21:09 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:eacd:ffa4:1df7:3870? ([2a02:810d:15c0:828:eacd:ffa4:1df7:3870]) by smtp.gmail.com with ESMTPSA id h22-20020a1709063b5600b0094cafa4fb8bsm344729ejf.124.2023.04.10.08.21.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Apr 2023 08:21:09 -0700 (PDT) Message-ID: <44a7ee80-e770-4918-9caa-f606713fe584@linaro.org> Date: Mon, 10 Apr 2023 17:21:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v1 1/2] ARM: dts: aspeed: greatlakes: Add gpio names Content-Language: en-US To: Delphine_CC_Chiu/WYHQ/Wiwynn , "patrick@stwcx.xyz" , Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery Cc: "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-aspeed@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" References: <20230329083235.24123-1-Delphine_CC_Chiu@Wiwynn.com> <20230329083235.24123-2-Delphine_CC_Chiu@Wiwynn.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,WEIRD_QUOTING autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/04/2023 09:11, Delphine_CC_Chiu/WYHQ/Wiwynn wrote: > Thank you for reviewing. > >> -----Original Message----- >> From: Krzysztof Kozlowski >> Sent: Wednesday, March 29, 2023 4:37 PM >> To: Delphine_CC_Chiu/WYHQ/Wiwynn ; >> patrick@stwcx.xyz; Rob Herring ; Krzysztof Kozlowski >> ; Joel Stanley ; Andrew >> Jeffery >> Cc: devicetree@vger.kernel.org; linux-arm-kernel@lists.infradead.org; >> linux-aspeed@lists.ozlabs.org; linux-kernel@vger.kernel.org >> Subject: Re: [PATCH v1 1/2] ARM: dts: aspeed: greatlakes: Add gpio names >> >> Security Reminder: Please be aware that this email is sent by an external >> sender. >> >> On 29/03/2023 10:32, Delphine CC Chiu wrote: >>> From: Delphine CC Chiu >>> >>> Add GPIO names for SOC lines. >>> >>> Signed-off-by: Delphine CC Chiu >>> --- >>> .../dts/aspeed-bmc-facebook-greatlakes.dts | 49 >> +++++++++++++++++++ >>> 1 file changed, 49 insertions(+) >>> >>> diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts >>> b/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts >>> index 8c05bd56ce1e..59819115c39d 100644 >>> --- a/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts >>> +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-greatlakes.dts >>> @@ -238,4 +238,53 @@ >>> &gpio0 { >>> pinctrl-names = "default"; >>> pinctrl-0 = <&pinctrl_gpiu1_default &pinctrl_gpiu7_default>; >>> + status = "okay"; >> >> Was it disabled before? >> > Yes, Really? Can you provide any proof for this? > we have to enable gpio status for meeting aspeed-g6 device tree setting, and set net names for pulling gpio pin from application layer. What is "enable gpio status"? What does it mean to "meet aspeeg-g6 devicetree setting"? What names have anything to do with my question? Sorry, I cannot parse it at all. >>> + gpio-line-names = >>> + /*A0-A7*/ "","","","","","","","", >>> + /*B0-B7*/ "power-bmc-nic","presence-ocp-debug", >>> + "power-bmc-slot1","power-bmc-slot2", >>> + "power-bmc-slot3","power-bmc-slot4","","", >>> + /*C0-C7*/ "presence-ocp-nic","","","reset-cause-nic-primary", >>> + "reset-cause-nic-secondary","","","", >>> + /*D0-D7*/ "","","","","","","","", >>> + /*E0-E7*/ "","","","","","","","", >>> + /*F0-F7*/ "slot1-bmc-reset-button","slot2-bmc-reset-button", >>> + "slot3-bmc-reset-button","slot4-bmc-reset-button", >>> + "","","","presence-emmc", >>> + /*G0-G7*/ "","","","","","","","", >>> + /*H0-H7*/ "","","","", >>> + "presence-mb-slot1","presence-mb-slot2", >>> + "presence-mb-slot3","presence-mb-slot4", >>> + /*I0-I7*/ "","","","","","","bb-bmc-button","", >>> + /*J0-J7*/ "","","","","","","","", >>> + /*K0-K7*/ "","","","","","","","", >>> + /*L0-L7*/ "","","","","","","","", >>> + /*M0-M7*/ >> "","power-nic-bmc-enable","","usb-bmc-enable","","reset-cause-usb-hub","","", >>> + /*N0-N7*/ "","","","","bmc-ready","","","", >>> + /*O0-O7*/ >> "","","","","","","fan0-bmc-cpld-enable","fan1-bmc-cpld-enable", >>> + /*P0-P7*/ "fan2-bmc-cpld-enable","fan3-bmc-cpld-enable", >>> + "reset-cause-pcie-slot1","reset-cause-pcie-slot2", >>> + "reset-cause-pcie-slot3","reset-cause-pcie-slot4","","", >>> + /*Q0-Q7*/ "","","","","","","","", >>> + /*R0-R7*/ "","","","","","","","", >>> + /*S0-S7*/ "","","power-p5v-usb","presence-bmc-tpm","","","","", >>> + /*T0-T7*/ "","","","","","","","", >>> + /*U0-U7*/ "","","","","","","","GND", >>> + /*V0-V7*/ "bmc-slot1-ac-button","bmc-slot2-ac-button", >>> + "bmc-slot3-ac-button","bmc-slot4-ac-button", >>> + "","","","", >>> + /*W0-W7*/ "","","","","","","","", >>> + /*X0-X7*/ "","","","","","","","", >>> + /*Y0-Y7*/ "","","","reset-cause-emmc","","","","", >>> + /*Z0-Z7*/ "","","","","","","",""; }; >>> + >>> +&gpio1 { >>> + status = "okay"; >> >> Same question... > Yes, the answer is same as above. So the same incorrect? Best regards, Krzysztof