Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp356114rdb; Tue, 5 Dec 2023 07:19:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHUkTAg+bLz/AqXGFiEANrduGMjNm1k0iAXX9yRYtgpSakKN26VPrKOYjp6rvQMkkScd4s2 X-Received: by 2002:a05:6a00:1d20:b0:6ce:2ad:dbc with SMTP id a32-20020a056a001d2000b006ce02ad0dbcmr1258848pfx.8.1701789592128; Tue, 05 Dec 2023 07:19:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701789592; cv=none; d=google.com; s=arc-20160816; b=C7Tr4nztdd3Zvge74rwtwOLIBbWQSR7yYoMz7SJKoPdmCQb58+HqFzUgQs5Sp9+ghB b/t1n9CeswMrW+/OlAkoN673zARuEG8oZgvCHiaG7u7t1+f3LgIJ4qo12E68G96eoEOr nOIqbFh7HtPkoHvkM+MXWUDJbdXF5x95w4XaZZkOnDd969/q9+fONKAr82UstNJLjaYH CwFWRdhZeormmZejFklcGTSdUYvPeTNwbCulxq+GnYpE5mgSQBpFW2KGoFkBFCoNNFJ5 2GiJB20oHBui4rERYnu4Vq3XEE7WQUBiI6rnS2I8DO8EOEYqLEWKKPJe3k4/u4WzlBCZ 0fAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=taSSSLzsFEyMw97vXil/IpA9bfrEDvDHwDlD5KErnEI=; fh=3jHCO4Ztf4yJ0h/FDeJjRvk9ih/dCxaIIOn1Jfuw+8Y=; b=oY7X+CUpmHuVvAa97NBSO+Z5OrfJrElxEMfJRJtASkYsR2rXnY2/vuByqZhON69l+i MpYI2Q7jhzZ2zEhMqRmOc1fpw2ZCmKqdCf23P9S/hoNLEbfB172AwepMJ/9kKGM1yvZ1 1jSZrdIqdBEI6h6cc9jiPYJHStBXc/RkngyFkHGPietNef8rWVOwCvLATdm/tIMPikl3 UYmcq2RnSD5+XhW4craks/ZpjY2z6Q0dV0dlnj4va/G/f9/lzLqyS/aYU/WFo4xe/259 utbBLOgeMW4BnH4B0XgydGZBIvVvQcpls/nOpJqa12ICEeYdIlnNW/CIEKW7yKfBRCqE yH1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VmSXmc5O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id c12-20020a63da0c000000b005c605cdc2c2si9839494pgh.854.2023.12.05.07.19.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 07:19:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=VmSXmc5O; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 36C8F8026BEF; Tue, 5 Dec 2023 07:19:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346063AbjLEPTc (ORCPT + 99 others); Tue, 5 Dec 2023 10:19:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346056AbjLEPTb (ORCPT ); Tue, 5 Dec 2023 10:19:31 -0500 Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E874BF; Tue, 5 Dec 2023 07:19:36 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 3B5FJL4I111898; Tue, 5 Dec 2023 09:19:21 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1701789561; bh=taSSSLzsFEyMw97vXil/IpA9bfrEDvDHwDlD5KErnEI=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=VmSXmc5OWCkNPPwWTjDdF5lholG6w4iBDvKIBIJLlPY7P4IipVPnpzBJ+eB9002aL IOYqeQtCeXYOMmQH/98H/8/9qeXDv+tD5tF67+McXCd8iO8cqYZwY9MuyN13KzLYzv GMsg4VTpkBLBMAsW9KDqNza9TDoZvcjagfcrUSEU= Received: from DFLE110.ent.ti.com (dfle110.ent.ti.com [10.64.6.31]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 3B5FJLGt025895 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 5 Dec 2023 09:19:21 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE110.ent.ti.com (10.64.6.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 5 Dec 2023 09:19:21 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE108.ent.ti.com (10.64.6.29) 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; Tue, 5 Dec 2023 09:19:21 -0600 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 3B5FJLhj083541; Tue, 5 Dec 2023 09:19:21 -0600 Date: Tue, 5 Dec 2023 09:19:21 -0600 From: Nishanth Menon To: "Sverdlin, Alexander" CC: "linux-arm-kernel@lists.infradead.org" , "donald.robson@imgtec.com" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "sarah.walker@imgtec.com" , "kristo@kernel.org" , "vigneshr@ti.com" , "conor+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "mripard@kernel.org" , "robh+dt@kernel.org" Subject: Re: [PATCH] arm64: dts: ti: k3-am62-main: Add GPU device node Message-ID: <20231205151921.orba632qpuf2nmxf@wildness> References: <20231204121522.47862-1-donald.robson@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Tue, 05 Dec 2023 07:19:49 -0800 (PST) On 11:15-20231205, Sverdlin, Alexander wrote: > Hi Donald, Sarah et al, > > thanks for the patch! > > On Mon, 2023-12-04 at 12:15 +0000, Donald Robson wrote: > > From: Sarah Walker > > > > Add the Series AXE GPU node to the AM62 device tree. > > > > Signed-off-by: Sarah Walker > > Signed-off-by: Donald Robson > > powervr fd00000.gpu: [drm] loaded firmware powervr/rogue_33.15.11.3_v1.fw > powervr fd00000.gpu: [drm] FW version v1.0 (build 6503725 OS) > [drm] Initialized powervr 1.0.0 20230904 for fd00000.gpu on minor 0 > > In general it allows the driver to be probed on TI AM625 EK, so > Tested-by: Alexander Sverdlin > > But I'm not sure if you maybe want to disable it by default like > other HW blocks for the (potential) boards which don't have video at all. There is no board level dependency for GPU, so only place we have permitted status = "disabled" is when the node has specific board interface level (pinmux...) to be operational completely. So, no, default shouldn't have a status = "disabled". > > > --- > > ?arch/arm64/boot/dts/ti/k3-am62-main.dtsi | 9 +++++++++ > > ?1 file changed, 9 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi > > index e5c64c86d1d5..4338fd8ab2d7 100644 > > --- a/arch/arm64/boot/dts/ti/k3-am62-main.dtsi > > +++ b/arch/arm64/boot/dts/ti/k3-am62-main.dtsi > > @@ -965,4 +965,13 @@ mcasp2: audio-controller@2b20000 { > > ????????????????power-domains = <&k3_pds 192 TI_SCI_PD_EXCLUSIVE>; > > ????????????????status = "disabled"; > > ????????}; > > + > > +???????gpu: gpu@fd00000 { > > +???????????????compatible = "ti,am62-gpu", "img,img-axe"; > > +???????????????reg = <0x00 0x0fd00000 0x00 0x20000>; > > +???????????????clocks = <&k3_clks 187 0>; > > +???????????????clock-names = "core"; > > +???????????????interrupts = ; > > +???????????????power-domains = <&k3_pds 187 TI_SCI_PD_EXCLUSIVE>; > > +???????}; > > ?}; > > -- > Alexander Sverdlin > Siemens AG > www.siemens.com -- Regards, Nishanth Menon Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D