Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp4598753rdb; Fri, 15 Sep 2023 07:06:44 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEeuOrN+mJ9s+oiez/5E1JoEbOcpO4nR0yErt0Y0ClC39kwvnoshYfxUjaf7MJksiDVcVjH X-Received: by 2002:a17:902:c40d:b0:1c4:44a0:5c03 with SMTP id k13-20020a170902c40d00b001c444a05c03mr672391plk.9.1694786803765; Fri, 15 Sep 2023 07:06:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694786803; cv=none; d=google.com; s=arc-20160816; b=geinFbA+hL8OY95gGuysQqoSeEFf3BnafaLrEGrCbHJNQuKB8C6satzdbt7+fTKD6n Wa18Zmb4NaVqv4zgeMj59TfKFNeJvxzYaXnoH+/1jme1PlRVRDL4f26+SJYj8fCB8bzs UKJ3SUl3bsawI7l/nbSG9Hf6a46DnQdxwaHeJepRS58ejJjrHHr07fmEN/XuHCP7tEge JyRD+FoSu3fk6W4TUECJDdh/TMPrI/z61D+OlWMErdg++rkat02OOPWQIURkRtsCtUuY LzRDi7kYAWmPg2AHG78AXBIdrG/yJYTM/kDtqY9Sln9KNuwQBgkI9+LYNtweCSa5NUvk 7jNA== 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=4VeziTl+d8+AbgxzpJag5vUqbkWM3E4fMIuyXtnWn1U=; fh=q9cdjXHezTFrJdjfe4NTG2SIFLdw32zzm/ELxCqpdvU=; b=zTEyTfiNu4MqXuZPx9uy3v5txT130WRsvx4GoVUaZT2il9VPGcK5pCIG/wIteAbVHA O/7N46/A8h+5mWjTe32a5Ygl0OBALntKDzJJ56raW8L5XR+LoJlt+WlWdLpUJpAo24HH wto216nt8HMj/V3tY2KPr9LiQ4YETGlgwOhRFTWfdPOGT4Fp6wrftBTiYtdqlUDxqG8m Sw58sGdRy50QCAK4XzxYvJyZwDjtFqha9Weugx48x3Xha1U0g/9qhbSJMonItW2RMa17 yJp7i6ATqxudmo0T7SnWpL3DiMlseY/i7I8vPo+2WVy1LMCN041FRmzvbl//PzoPExWr PjYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=F3kyzuFF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id l2-20020a635702000000b005648d20203dsi3369923pgb.233.2023.09.15.07.06.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 07:06:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=F3kyzuFF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5FCD381BC485; Fri, 15 Sep 2023 02:26:25 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233487AbjIOJ0W (ORCPT + 99 others); Fri, 15 Sep 2023 05:26:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233533AbjIOJ0U (ORCPT ); Fri, 15 Sep 2023 05:26:20 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C4581FD4; Fri, 15 Sep 2023 02:24:47 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38F9Nt6B079447; Fri, 15 Sep 2023 04:23:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1694769835; bh=4VeziTl+d8+AbgxzpJag5vUqbkWM3E4fMIuyXtnWn1U=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=F3kyzuFFrqo13xYV4oBqzGrPfPlQHB81syKDNevbRnSkMHhRgtrbCfu2fYN/EByUN LhLVg872+ZhwGYqeP3Tjks+JHEcQ/z9RNUnhK3mMj0DpTbOD7T+7Fm9a7nHw8R8xAi g6zmhI/q4Q4oxy9XQifNqsKN7nsb0XDY5l+dVTB4= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38F9NtFX120940 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 15 Sep 2023 04:23:55 -0500 Received: from DFLE112.ent.ti.com (10.64.6.33) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 15 Sep 2023 04:23:55 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 15 Sep 2023 04:23:55 -0500 Received: from [10.24.69.29] (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38F9Npqr039108; Fri, 15 Sep 2023 04:23:51 -0500 Message-ID: Date: Fri, 15 Sep 2023 14:53:50 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH 1/3] arm64: dts: ti: Add GPMC NAND support Content-Language: en-US To: Nishanth Menon CC: Krzysztof Kozlowski , , , , , , , , , , , References: <20230913114711.2937844-1-n-yadav@ti.com> <20230913114711.2937844-2-n-yadav@ti.com> <32c82fa2-f8b9-d22d-f0ac-f8d6e48df39d@linaro.org> <20230914160450.knooq6q3dflostv4@playtime> From: Nitin Yadav In-Reply-To: <20230914160450.knooq6q3dflostv4@playtime> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 15 Sep 2023 02:26:25 -0700 (PDT) On 14/09/23 21:34, Nishanth Menon wrote: > On 14:56-20230914, Nitin Yadav wrote: >> Hi Krzysztof, >> >> On 14/09/23 11:57, Krzysztof Kozlowski wrote: >>> On 13/09/2023 13:47, Nitin Yadav wrote: >>>> Add support for AM62Q NAND card: X8 NAND EXPANSION >>>> BOARD card (PROC143E1) for AM62x LP SK board. > > Commit message is all too wrong as well. Sigh. > >>>> >>>> Signed-off-by: Nitin Yadav >>>> --- >>>> arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 29 ++++++++++++++++++++++++ >>>> arch/arm64/boot/dts/ti/k3-am62.dtsi | 2 ++ >>>> 2 files changed, 31 insertions(+) >>>> >>>> diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi >>>> index 284b90c94da8..e93e79d8083f 100644 >>>> --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi >>>> +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi >>>> @@ -955,4 +955,33 @@ mcasp2: audio-controller@2b20000 { >>>> power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>; >>>> status = "disabled"; >>>> }; >>>> + gpmc0: memory-controller@3b000000 { >>>> + status = "disabled"; >>> >>> status is never first in DTSI. Really, where did you see such code? >> Thank for pointing out, Will send a revised version. > > GPMC is not functional without board specific interface configuration > such as pinmux. this approach, in fact is all over the place now and > discussed in the mailing list multiple times now. > > What is missing here is the documentation of the constraints as to why > it is set as disabled by default. gpmc nand is only am62x lp sk in am62x series. it has pinmux conflict with macsp1, so disabling gpmc & elm by default for other am62 series. For am62x lpsk in overlay macsp1 is disabled. > > >>> >>>> + compatible = "ti,am64-gpmc"; >>>> + power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>; >>> >>> First is compatible, second is reg/reg-names/ranges. >>> >>> >>> Best regards, >>> Krzysztof >>> >> >> -- >> Regards, >> Nitin > -- Regards, Nitin