From patchwork Sat Dec 18 21:11:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 12696775 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 6CDC0C433F5 for ; Sat, 18 Dec 2021 21:14:26 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=VkT6m9BD4m7aY1nMdvlbl0o7Ix89GYA5OHekPbJXUi4=; b=ma89Mbwh2b/Qxw tAfn7rmZsmJ9+5V8tqRtNpR0tPfUUSpAU47IcPTtTKY+bolpGMTmCGRneuMz1a2LHQInK/tjkyHrD f8gaF1e3JehzrQJdRHADjcu0atkirA/ttmuOQonZ9WC3leoajB7HyPreM3FekAHGYq9SYIgRoSXZe y++6qIiBtoM5ulOQbAhtcJbZqDn3qMVFUEX5YWP445bxqDxY+Tnhrm5p/4DxaJohyl4rSSrzPWKLf B1V3+oJYH581XrkmqgPlAJ6t7Hht3NY2EHp2IXJjQiXaSTL92iJBqPYeKCbdcFU3G/iUy6bcDBPTT dCc7pdjbBhk/aJFmfIcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1myh0g-00Ehc6-16; Sat, 18 Dec 2021 21:12:54 +0000 Received: from st43p00im-ztfb10063301.me.com ([17.58.63.179]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1myh0V-00EhZ6-3E for linux-arm-kernel@lists.infradead.org; Sat, 18 Dec 2021 21:12:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1639861960; bh=y1Q4So049yY6R/vuf+Xi1DcTVKT0QzoZ7rCKMVlWz0s=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=jZObGqznkU6EM8+xJ1gdnGbLADC5MC6RVoYsfiVuQTyVMBfAcXJxTQPb79/sXDQaP kAnJb0KJKjybiPsdyXce7+5Z1v9SEvuOBk8uWZicw6wYohi1guIbiUr5P8B/Em9YA6 Isa5xEWJi4ofup1cN1WQwz8FrdG1J+Zftwr4cEA59WoN6jzB87LI3/dlkmNAeNLoHa mPrHrHxZkmRaHuNFaJ8Cx8+W/16pJLbK1DCVnWmSFOXYQTDQX4BjwUwRbvSwqsE+pg xOTHL9heqWKhZGnFreqXlyxC/Os5YSuRw0xJqqGOyiJszAENTBW5YHmycBpv8VqyuG 4xFRJ2sc+hgtQ== Received: from localhost (101.220.150.77.rev.sfr.net [77.150.220.101]) by st43p00im-ztfb10063301.me.com (Postfix) with ESMTPSA id 356F0A40137; Sat, 18 Dec 2021 21:12:38 +0000 (UTC) From: Alain Volmat To: Michael Turquette , Stephen Boyd , Rob Herring , Patrice Chotard 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 Subject: [PATCH v2 0/2] clk: st: update to avoid DT warnings Date: Sat, 18 Dec 2021 22:11:55 +0100 Message-Id: <20211218211157.188214-1-avolmat@me.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425, 18.0.790 definitions=2021-12-18_08:2021-12-15, 2021-12-18 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=560 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2112180129 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211218_131243_248654_439DFCED X-CRM114-Status: GOOD ( 11.72 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The serie contains 2 updates within clkgen-fsyn and clkgen-mux in order to allow those drivers to pick up the reg property within their parent node instead of their own node. Such behavior is already in place for the other st clk drivers and to allow to not have several time the same reg value within the device tree. Those changes are also done in order to avoid DT warning seen when compiling with W=1 and indicating unique-unit-address issues. v2: update clkgen-fsyn patch to add a pr_err Alain Volmat (2): clk: st: clkgen-fsyn: search reg within node or parent clk: st: clkgen-mux: search reg within node or parent drivers/clk/st/clkgen-fsyn.c | 13 +++++++++++-- drivers/clk/st/clkgen-mux.c | 11 +++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-)