From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E160EC433FE for ; Mon, 17 Oct 2022 08:11:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=StdyFtowhJzwToJZc1T63o9/jJRK0sX/JfEA3V62y6E=; b=Y7zCNhpUR13PpJ JUu5UF6+MdsAm6GeJ3LMbs0RUpuqFiqMsp08cDOJSBabybZk7KcQVy/La3UPX8oEqAHFuVg0hWkm9 KxZmEmqUvE/iwt4tZjpZTkvFhvTfwb2XWEqGx/FNwD49cRBvNQobmt0sNeZanOA9NWtTsYSgy9CRr TgmxNnDMSKLOyFgWESEcoNosI0paXhkPxJEgDtzbCwxW41762gubFcxEPo8YS9lIxUNkyZQAdlmcn g+kuRghBIjqmnu3qFufzR7XB7v+b9L3kX+um+HXBaXqSI4YNMHGfO4+suxzXzFfbw9hMP1uKXQE7v +vb8ORup+allfKcs1U3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okLCb-008wqf-IN; Mon, 17 Oct 2022 08:10:25 +0000 Received: from lelv0143.ext.ti.com ([198.47.23.248]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1okLCY-008wjj-6z for linux-arm-kernel@lists.infradead.org; Mon, 17 Oct 2022 08:10:24 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29H8A7II101306; Mon, 17 Oct 2022 03:10:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1665994207; bh=DcaX+n7/l8tciEU0Vu2jBSoMvY3jNO6bqbCzrMREmM4=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=UdfASsvQ+6ivyIJomLc/0uhCuNIM1ptLZgTu3C/5J/IiUgvBov/8p+kP3BfM2IGhN h6RDqFW1NE/Z46hYXOTBJriDvErQDpUOOBjNcqMAoNr/J3tTvgXlndrPVKF4tMRvND 5woIEvu+NWbuE6n4uvKI1sfPugMTY3Eg0xzJVRiQ= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29H8A7oP025695 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 17 Oct 2022 03:10:07 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Mon, 17 Oct 2022 03:10:06 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Mon, 17 Oct 2022 03:10:06 -0500 Received: from ubuntu (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with SMTP id 29H8A0it094416; Mon, 17 Oct 2022 03:10:01 -0500 Date: Mon, 17 Oct 2022 01:09:59 -0700 From: Matt Ranostay To: Krzysztof Kozlowski CC: , , , , Subject: Re: [PATCH] arm64: dts: k3-j72*: correct compatible for syscon entries Message-ID: References: <20221012180052.89840-1-mranostay@ti.com> <0118faac-7d50-ddb2-2914-0610b83efe6c@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <0118faac-7d50-ddb2-2914-0610b83efe6c@linaro.org> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221017_011022_403633_1A85A6B5 X-CRM114-Status: GOOD ( 19.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 13, 2022 at 09:05:11AM -0400, Krzysztof Kozlowski wrote: > On 12/10/2022 14:00, Matt Ranostay wrote: > > Add missing ti,j721e-system-controller to bus defines in mcu/wakeup > > domains to avoid the following similar warnings from dt-schema checks: > > > > arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dtb: syscon@40f00000: compatible: ['syscon', 'simple-mfd'] is too short' > > > > Signed-off-by: Matt Ranostay > > --- > > arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 2 +- > > arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 2 +- > > arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 2 +- > > 3 files changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi > > index e5be78a58682..b5c666f98ba4 100644 > > --- a/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi > > +++ b/arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi > > @@ -35,7 +35,7 @@ k3_reset: reset-controller { > > }; > > > > mcu_conf: syscon@40f00000 { > > - compatible = "syscon", "simple-mfd"; > > + compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; > > That's a different SoC, so probably you should use dedicated compatible > here. Since there isn't any notable difference between these platforms for the simple-mfd controller I'm thinking it maybe makes sense to have a ti,generic-system-controller compatible. Thoughts? - Matt > > > reg = <0x00 0x40f00000 0x00 0x20000>; > > #address-cells = <1>; > > #size-cells = <1>; > > diff --git a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi > > index df08724bbf1c..5d9ec221fa34 100644 > > --- a/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi > > +++ b/arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi > > @@ -35,7 +35,7 @@ k3_reset: reset-controller { > > }; > > > > mcu_conf: syscon@40f00000 { > > - compatible = "syscon", "simple-mfd"; > > + compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; > > reg = <0x0 0x40f00000 0x0 0x20000>; > > #address-cells = <1>; > > #size-cells = <1>; > > diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi > > index 4d1bfabd1313..3845d162d3c6 100644 > > --- a/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi > > +++ b/arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi > > @@ -69,7 +69,7 @@ wkup_gpio_intr: interrupt-controller@42200000 { > > }; > > > > mcu_conf: syscon@40f00000 { > > - compatible = "syscon", "simple-mfd"; > > + compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; > > Here as wekk - it's a j721s2? > > > reg = <0x0 0x40f00000 0x0 0x20000>; > > #address-cells = <1>; > > #size-cells = <1>; > > Best regards, > Krzysztof > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel