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 4CDBCC433F5 for ; Thu, 6 Jan 2022 01:23:19 +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=dzc7JHeXlZrf3VLnhCiZ7F/vAZCCct5qOmGGBRaOJ9M=; b=KmL9RwBH1KdvAP fr8hAvYg+EGayDLLxQ/e+rV2zXlP3EU1AWTTaddXqQkTlpDmqVJLnZLZMBQLQfTizZL7ngElyK2iB bZ3qK6rNGm3M4BPP12yKCLmIojBHzrJ0M7qtgQaE2+eQIYr4ldDutLoEQ4CCoK17uNfXzevIyLyKp bYdJcflw5z2nM2LSFDN2fR8d7aQEpvm/47iWov8JVGFQLNR9is3gioaMmjy5lQyMhql7Rg27tHkLA +EjYDt475fZdLy8FcremOPAGxNA4Uyw/SPsyV4dgWyOOTRFn+Oaj1fAHGJXcG78OgULjDykwIoGkg IC4iVgHUeo/02ev28OWA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5HTo-00G9V6-Hk; Thu, 06 Jan 2022 01:22:12 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5HTl-00G9Ub-6y for linux-arm-kernel@lists.infradead.org; Thu, 06 Jan 2022 01:22:10 +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 ams.source.kernel.org (Postfix) with ESMTPS id E4CC1B81ECF; Thu, 6 Jan 2022 01:22:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A2B6CC36AEB; Thu, 6 Jan 2022 01:22:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1641432126; bh=LDsuddmVyCNfFam0Jb1mRZ6bRN9QVH2bjAXJWN1eGQk=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=KcjEPO7k3QiOQMIzaE1RM63tbZXUWDq12drzA2tnZXeZ+OplhJjS9fYr7j9CLVHXY YN0WDI3KcKdO1hcbmYB1mOmVdzWSbRQR6u8X0/3zofg6GFfqKCSIzM6ZtPFCqrTSeI J93aOOH9reZLQvAqeWwaezpOzHboVE5wWGhmBvraMhb6XIP115M6lfHtleXbSKKHBh R9C8gn7k5dNo6byiYpjhC8rlhaguqzioCAaKemArAGoB7A+oY4ftsNbsXaXxxqV9EA T2Z8b8lJuklPLkctte2Gedsz+flXntqQorOYGaUS91aIZK54yLqr4HJQs6vE8P01Xn ZE9UVH21ywEeg== MIME-Version: 1.0 In-Reply-To: <20211218211157.188214-3-avolmat@me.com> References: <20211218211157.188214-1-avolmat@me.com> <20211218211157.188214-3-avolmat@me.com> Subject: Re: [PATCH v2 2/2] clk: st: clkgen-mux: 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:22:05 -0800 User-Agent: alot/0.9.1 Message-Id: <20220106012206.A2B6CC36AEB@smtp.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220105_172209_416619_57809397 X-CRM114-Status: GOOD ( 10.96 ) 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:57) > 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