Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1842358pxb; Sat, 29 Jan 2022 19:51:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzeEXd0vi6IwXaG2VrSfyPBaThPmWBhjg4UmP2cg78TJmESN0MaWA+oMbShD0QIARS9ArmC X-Received: by 2002:a17:90b:4b84:: with SMTP id lr4mr27524236pjb.231.1643514687358; Sat, 29 Jan 2022 19:51:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643514687; cv=none; d=google.com; s=arc-20160816; b=UfO0MaDSc5SjxptOKmtyvBZU4znsP+Z726QJRUYMLoe8VxKdsBSs8zYI66ZIvB2wKp gtTs3rg2472sunFqB1wf7FuyNS9VFTibgr/SJS0h9P2meZRXO9zK9dlV6Fb3EfWSPWZh zzmk1oQhqMkLUEFm+b8/SG7NNt53pOpTofcbPS9naw7I0SvBloRH/+1SGWlTaXE8yXTJ 4ZIySUvjS7vX3tyk8IHoCOXJkLJrztDg80NW5XPCOpzrnDhgtAdCopE/L7DsKuDBMkk8 oRXpTjIO6eGJryqRi2g+WaL3a6Zc/UkVkWCIIaYCrIIr+/BC8RTQOuoFwaYMT0LMOolq p5qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yI6KG+OgA2aWsv+wT4v4X+rsj3Uic/qJl56GYYt4ZPs=; b=fvuqzR7xNqNYMTSGCLBsH/sJKd1tNVJSCH9gC+aNrfWeGjBpU2sarDYm0g7RDdKgqT X2gXu4rTFDlpPP+EkgP73ge3Z846SLx+4BzggH/AuQcdi+PcTt0tgT/fdJpTCTncK+Wz 1iEBFqlfE9jfXyb520PAiWjauSgEu6aC9LsSdISqv3SbgqZLXJQCZmux7ENPg6D45JeQ KJl5E9TBocTF1nu9QUEnWhI9MCK58WEA6/s+TwfvywSqgsxqPXruFsUvHZ8kM67vRcxr cC69c3e0ZOANlYgkfFIO5dksH1emzz1ifqw5gmsPSeWxtlsk7FWsitkuRCqKxxVmtmQ+ L1Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@norik.com header.s=default header.b=hyRRIX0K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q12si10814854pfj.37.2022.01.29.19.51.16; Sat, 29 Jan 2022 19:51:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@norik.com header.s=default header.b=hyRRIX0K; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346765AbiA1H2B (ORCPT + 99 others); Fri, 28 Jan 2022 02:28:01 -0500 Received: from cpanel.siel.si ([46.19.9.99]:38578 "EHLO cpanel.siel.si" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346758AbiA1H2A (ORCPT ); Fri, 28 Jan 2022 02:28:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=norik.com; s=default; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=yI6KG+OgA2aWsv+wT4v4X+rsj3Uic/qJl56GYYt4ZPs=; b=hyRRIX0KT1a3HCQ7B0ADzCKiZ+ lIeFiCOfYKFQjAdigyPKjS3srnKAJgydY+lV/TOf0W0P7o6ebHVMWcY1LbAc/7unAOXuV2UJaConk zGR3ILdfenWeJYWpKKaSHzTNg9MzAbx4SzkjY13Ski+gwVqj+vEFwCfanN63JAKaHTGHeVo0zgiqh w2ahDc3KBzudUg2TE2EV9CMlNYKtVeivV1QNSIDWHCWbUOQ1HJtLsILdIBAbnwUuHrULEeck+vtMI qA9zqqDjAHbCAd8LDJ5cFabMGntXCs7GQ2KO84aU1KlWVv+pTWa7xXiJdmgt4Abug+jhPyWHNQGKa Jx+CGCkA==; Received: from 89-212-21-243.static.t-2.net ([89.212.21.243]:46530 helo=localhost.localdomain) by cpanel.siel.si with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1nDLfg-00EWky-LC; Fri, 28 Jan 2022 08:27:56 +0100 From: Andrej Picej To: shawnguo@kernel.org, robh+dt@kernel.org, s.hauer@pengutronix.de, devicetree@vger.kernel.org Cc: festevam@gmail.com, kernel@pengutronix.de, linux-kernel@vger.kernel.org, y.bas@phytec.com Subject: [PATCH v2 2/2] ARM: dts: imx6qdl-phytec: handle unneeded MFD-subdevices correctly Date: Fri, 28 Jan 2022 08:27:38 +0100 Message-Id: <20220128072738.157247-2-andrej.picej@norik.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220128072738.157247-1-andrej.picej@norik.com> References: <20220128072738.157247-1-andrej.picej@norik.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.siel.si X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - norik.com X-Get-Message-Sender-Via: cpanel.siel.si: authenticated_id: andrej.picej@norik.com X-Authenticated-Sender: cpanel.siel.si: andrej.picej@norik.com X-Source: X-Source-Args: X-Source-Dir: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yunus Bas The proper way to handle partly used MFD devices are to describe all MFD subdevices in the devicetree and disable the not used ones. This suppresses any warnings that may arise as a result. Signed-off-by: Yunus Bas Signed-off-by: Andrej Picej --- Changes in v2: - use ARM: dts: imx6qdl-phytec: ... as subject prefix --- arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi | 5 +++++ arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi index c6ec71f6f034..1f2ba6f6254e 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi @@ -213,6 +213,11 @@ da9063_rtc: rtc { da9063_wdog: watchdog { compatible = "dlg,da9063-watchdog"; }; + + onkey { + compatible = "dlg,da9063-onkey"; + status = "disabled"; + }; }; }; diff --git a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi index 94b254bfd054..28a805384668 100644 --- a/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/imx6qdl-phytec-phycore-som.dtsi @@ -116,6 +116,16 @@ watchdog { dlg,use-sw-pm; }; + thermal { + compatible = "dlg,da9062-thermal"; + status = "disabled"; + }; + + gpio { + compatible = "dlg,da9062-gpio"; + status = "disabled"; + }; + regulators { vdd_arm: buck1 { regulator-name = "vdd_arm"; -- 2.25.1