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 7AD95C433F5 for ; Thu, 6 Jan 2022 01:23:09 +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:Message-Id:Date:To:Cc:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=DhvEsSd/FoUC6D/N2cL9RC0+cbNrwFZ22GjOnOYe3lg=; b=WMltEUsTC2t1El jo9cBcpqpv3AzK4FR+ingLLvLPIAahS9r0o6SRJ73N8itqk3tc3J1vbhl7hbjaQ5kwFaIDx6L0vMV wbWImLe52eaTH5zWIxCvpWOm3vD2SXO9b2AAnLzmt4ngpZ3/Ge9xFlqOmtSNFjdUijHeFjNd3AC0w aH5qRwns1bP9ffk7jPFyD2aBYujGVW11MGyTM5jszkO4Fr2nndW2nF9qew75kszRifr77aTanHqCi CdII1rVTmFxkNoPvAjWxTJUCvVrp5qG5Ct83DWGsXBNLA1pKZ+77OiSlp6IVaVtpxYhiKSTIX+Akw tktDwoXPbtW+S5vI3NEA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5HTf-00G9UF-Kt; Thu, 06 Jan 2022 01:22:03 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5HTc-00G9Tv-HW for linux-arm-kernel@lists.infradead.org; Thu, 06 Jan 2022 01:22:01 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 129B7619D3; Thu, 6 Jan 2022 01:22:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6418EC36AE3; Thu, 6 Jan 2022 01:21:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1641432119; bh=FWjd97uCUcwS44A4mF4AzRTCkKk3jDmIJyUX2bUCvr4=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=luIngZZdxFVpNBjA4QEYYAhvro3zCvs1yF/k7pzISPGahQ2mrhoqZbpva6K87yAWM pgqzNi+bmR92lURFcS5NcC8sxrRAjAOT9V1ZNxLlAc0vBsQdFevov8Z2iGAIVP4uKP sRD9gaxVp9N4luGYJw17Nej4Jr3RvuGXOpydryG3dVKqAFuZBWeghOj19PfA90B35K n8MkL2farIJLbVwO7b/1+f0uDhjGZOKgWdEmqafbUgv+MLIG1j8w9kHi+StRWo1d7Q AFUxzrB6OSNvQEJuBAJEZX4yXaBJRMBb0MMaGd4dvD/J/g4e/xLsKDV8qkLG15RA4n gheKjMyucGkBA== MIME-Version: 1.0 In-Reply-To: <20211218211157.188214-2-avolmat@me.com> References: <20211218211157.188214-1-avolmat@me.com> <20211218211157.188214-2-avolmat@me.com> Subject: Re: [PATCH v2 1/2] clk: st: clkgen-fsyn: search reg within node or parent From: Stephen Boyd Cc: Lee Jones , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Alain Volmat To: Alain Volmat , Michael Turquette , Patrice Chotard , Rob Herring Date: Wed, 05 Jan 2022 17:21:58 -0800 User-Agent: alot/0.9.1 Message-Id: <20220106012159.6418EC36AE3@smtp.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220105_172200_649360_36EED7D0 X-CRM114-Status: GOOD ( 10.77 ) 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 Quoting Alain Volmat (2021-12-18 13:11:56) > In order to avoid having duplicated addresses within the DT, > only have one unit-address per clockgen and each driver within > the clockgen should look at the parent node (overall clockgen) > to figure out the reg property. Such behavior is already in > place in other STi platform clock drivers such as clk-flexgen > and clkgen-pll. Keep backward compatibility by first looking > at reg within the node before looking into the parent node. > > Signed-off-by: Alain Volmat > --- Applied to clk-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel