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 2DD39D4334D for ; Thu, 7 Nov 2024 11:39:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: Content-Transfer-Encoding:Content-Type:In-Reply-To:From:References:To:Subject :MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9Cj5IJyE4rxnvpPnUVWzeAgGlJZVWNKjg29ev+YTrS4=; b=OCvAu7I65cVIJS KlqGnMRBWlRbDqkcDNiUii1+q7AFhCbkcKOQXLdvEyfPmxmJL+dH3iNR5vB74eexpR2CThjy0H/C3 kWaRxUGDQbaSb9NnegdgQvSB5HiSCMiiatx1NnSytekAgTmCrKtzOUV4GloSgYfeaiQWs3uQhbwbg fvR1G2s/C4kZeHWZn4ybGgQWd6jJYkvDO6hM/qO1AnyG1ZomQBPrnQ+0ezoWihUTOAp8DroKlKJ5l +dbJI8aNGSa+UNM9oqqvbho+3qzC/BdnWcIQ2HDS032uh0z1PYQzWydK99iX3igCL6MhAfZvFV8EM Hj9GHBYjsj3srAHeJaNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t90r9-00000006ldw-2m71; Thu, 07 Nov 2024 11:39:19 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t90oO-00000006lAE-0ZWd for linux-arm-kernel@lists.infradead.org; Thu, 07 Nov 2024 11:36:29 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 4A7BaNBO055275; Thu, 7 Nov 2024 05:36:23 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1730979383; bh=9Cj5IJyE4rxnvpPnUVWzeAgGlJZVWNKjg29ev+YTrS4=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=sNqKVIz1kynTrYCn4I4kYfNdF+KHUn7D5shoJY3gcOTfkv7UpvVyi9E6IsNgMHsqG rHMaevWTfglj6qzCq8rNQ72Q4WzeA0IXCyalp3mcZe2dh/nAksRNQsqsBbQvPzTOBw MRyVH2/F+uwEnSb+ANukU25FTGm+ltWxJKyI8scI= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 4A7BaNkZ076465 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 7 Nov 2024 05:36:23 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 7 Nov 2024 05:36:23 -0600 Received: from lelvsmtp6.itg.ti.com (10.180.75.249) by DFLE100.ent.ti.com (10.64.6.21) 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; Thu, 7 Nov 2024 05:36:23 -0600 Received: from [10.24.69.25] (danish-tpc.dhcp.ti.com [10.24.69.25]) by lelvsmtp6.itg.ti.com (8.15.2/8.15.2) with ESMTP id 4A7BaISi092269; Thu, 7 Nov 2024 05:36:19 -0600 Message-ID: <8156fd61-c476-4b58-b3b2-e8bc4f93035e@ti.com> Date: Thu, 7 Nov 2024 17:06:18 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] dt-bindings: soc: ti: pruss: Add clocks for ICSSG To: Krzysztof Kozlowski , , , , , , Vignesh Raghavendra References: <20241107104557.1442800-1-danishanwar@ti.com> <20241107104557.1442800-2-danishanwar@ti.com> <7f0a73c3-9977-4d07-b996-683ed18e4724@kernel.org> Content-Language: en-US From: MD Danish Anwar In-Reply-To: <7f0a73c3-9977-4d07-b996-683ed18e4724@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241107_033628_443567_5FF26FD3 X-CRM114-Status: GOOD ( 17.63 ) 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: , Cc: srk@ti.com, devicetree@vger.kernel.org, kristo@kernel.org, linux-kernel@vger.kernel.org, Roger Quadros , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 07/11/24 5:01 pm, Krzysztof Kozlowski wrote: > On 07/11/2024 11:45, MD Danish Anwar wrote: >> Add clocks, assigned-clocks and assigned-clock-parents for ICSSG > > Why? We see what you are doing from the diff, no point to repeat it. I > don't understand why you are doing it. > >> >> Signed-off-by: MD Danish Anwar >> --- >> .../devicetree/bindings/soc/ti/ti,pruss.yaml | 11 +++++++++++ >> 1 file changed, 11 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml >> index 3cb1471cc6b6..cf4c5884d8be 100644 >> --- a/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml >> +++ b/Documentation/devicetree/bindings/soc/ti/ti,pruss.yaml >> @@ -92,6 +92,17 @@ properties: >> description: | >> This property is as per sci-pm-domain.txt. >> >> + clocks: >> + items: >> + - description: ICSSG_CORE Clock >> + - description: ICSSG_ICLK Clock >> + >> + assigned-clocks: >> + maxItems: 1 >> + >> + assigned-clock-parents: >> + maxItems: 1 > > Why? This is really not needed, so you need to explain why you are doing > things differently than entire Linux kernel / DT bindings. > I need to add this to the device tree node + clocks = <&k3_clks 81 0>, /* icssg0_core_clk */ + <&k3_clks 81 20>; /* icssg0_iclk */ + assigned-clocks = <&k3_clks 81 0>; + assigned-clock-parents = <&k3_clks 81 2>; But without the above change in the binding I am getting below errors while running dtbs check. /workdir/arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtb: icssg@30000000: 'assigned-clock-parents', 'assigned-clocks' do not match any of the regexes: '^(pru|rtu|txpru)@[0-9a-f]+$', '^pa-stats@[a-f0-9]+$', 'cfg@[a-f0-9]+$', 'iep@[a-f0-9]+$', 'interrupt-controller@[a-f0-9]+$', 'mdio@[a-f0-9]+$', 'memories@[a-f0-9]+$', 'mii-g-rt@[a-f0-9]+$', 'mii-rt@[a-f0-9]+$', 'pinctrl-[0-9]+' +/workdir/arch/arm64/boot/dts/ti/k3-am642-evm-nand.dtb: icssg@30080000: 'anyOf' conditional failed, one must be fixed: To fix this warning I added these in the binding and the warnings were fixed. > Best regards, > Krzysztof > -- Thanks and Regards, Danish