From patchwork Thu Dec 2 07:28:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alain Volmat X-Patchwork-Id: 12694449 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 CC452C4332F for ; Thu, 2 Dec 2021 07:31:07 +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=5m+B7VMfdppBL34s8K0LyNAVtF9tSjj8c9UibalE2YM=; b=PyeFT1BsxK99/4 o7zLWpVGVwYJ6ipmHqSsBaDiX2Ksn1tYI9icN3P6PRvz8AnkeICOyTrcO4HfE219VBQfr9alePblA XQpT+CuJ30bLVptQd61LkxQL8Xhp8BRBQhQ7Ior4u/y1PI4EEnN3UOf8ahKLtNLZqBOt3yZy+8QpP xd8RlJcroCSqQRAy2mEEiz9EC/FSbGUY2vWwlgCcuofm9iJzK4aadgOgiAcvPDoiJOZv40+y1kmYu DsqDnbEWIABeUne9BD4/PZMHUtmJp11PQ3qUPr87Ny9C0icKqOBxyN39+doh+bXxofbwDWHqa9QN6 rYISG4LgngJIbiCrLFLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1msgWr-00BBUU-FU; Thu, 02 Dec 2021 07:29:17 +0000 Received: from st43p00im-ztfb10071701.me.com ([17.58.63.173]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1msgWn-00BBTI-GQ for linux-arm-kernel@lists.infradead.org; Thu, 02 Dec 2021 07:29:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1638430151; bh=KSVWAl5J+L7CAYIxSh1y9C3k9R9sIqe1hOj5vyjrZD4=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=Dk6T2cCDQcly0SYNloRyrflAcsaj35JukCc1XS/8TG7QXrTxYsHsG2VZZFhCX5P+e VVOP7Ck0g/Nnn/sX6i/VTh/onOcJCn+7Oe2oO54rGFykUFlgUU287FhXYkhRhVtAov mwDcxI99i9Z2mDn3aOxm++owKB1/oKsCGnftfn6TKLLvcB1YrB3JRr9P9g5WuVPFgo iPz4oh7VE0WpEhbj+RSwmGHKmqV+kfu++2L2ovD9en0GwjGN8QXgOYntM+ybu9Lj3g OXkreyu4EP5QLKoPHEtMSkQxxJLd+KF7KQHkSTbGt58ONVWa4QT99ZmZD6Jwrs2Dkd 4bybJzJFdOwqw== Received: from localhost (101.220.150.77.rev.sfr.net [77.150.220.101]) by st43p00im-ztfb10071701.me.com (Postfix) with ESMTPSA id E69ED8A0373; Thu, 2 Dec 2021 07:29:08 +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 0/2] clk: st: update to avoid DT warnings Date: Thu, 2 Dec 2021 08:28:48 +0100 Message-Id: <20211202072850.194314-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-01_01:2021-11-30, 2021-11-30 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=614 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2112020043 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211201_232913_642069_CFF15354 X-CRM114-Status: GOOD ( 11.13 ) 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. 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 | 11 +++++++++-- drivers/clk/st/clkgen-mux.c | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-)