Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5469353pxb; Wed, 26 Jan 2022 12:44:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzS9xKOkAlA8tkmSlxh2M0uGHrUe4CO8IbTxMU8NxHmJLN1Sm+HqlTofzMLzC0q/vozojJk X-Received: by 2002:a63:d217:: with SMTP id a23mr519830pgg.76.1643229884815; Wed, 26 Jan 2022 12:44:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643229884; cv=none; d=google.com; s=arc-20160816; b=rQ+EXtLuhoU0Rwvhrh69PmWMRrcmIXqInV7V3D9+j81olNJA+GnIHnyO2Nk4cz2/2q Oes/ApktpEG8QnEdvG1hDkCzpPcK4eWLevbz0cESDytPsOWNN/awxx70psBlvJB5Io2c 5pSZS5yfGHctpK4pERRRXCCTWCPIKPnKc0aEcgBY0nDMGYwLcEhPSeK5vQw2LLPSGljN bhf/uFxI6msmLWFNvYv9PUoO4fYbSy07tC9p4EhMzntilZm63pY/wUkeSK5qmF47vTm1 L7g7KQOZCDJGaAg+rC/LUtpmXApYihviyuVOHJjJtuE0BuPrVh8SCRrbIbG7V/rsuoR1 Rutg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=q1T1spxn9ebrqyUHrVP3xR1TRCzd9oxIlYrFa3cuKvE=; b=QEmIRfAda9iDsPMY28LKDckkHvxFG99yFdJcMgnqpUeP4mlVv+khjr6iE9IOyeGxxW xUuitgTkrA6agZ7kVRlxaCEceo+X8kPeBCh/8Mf9w0nn4DYtCFtAQxnNy3TO7B95t0PG mAiKf4p7aNUEbdr0rNccFG2bSmv2Q64Qs+E+Yzdes7GC+UAv4wx3csAdSXyi+6XNRelL vwzrKidQuoKXyJwaNbuzrkBzTNmWYw6X0HwTo7KGKyxzs9s4vanEgud2sN8oyLOVwGng 5iUVTVWKhAEF09KIm1Ls4Gj0CY8ERjNErUzs45V6MYazLRZmc46MjCpHwuKBNAyOIsam 2JpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=u6aW7MD6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g10si280510pgc.517.2022.01.26.12.44.32; Wed, 26 Jan 2022 12:44:44 -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=pass header.i=@kernel.org header.s=k20201202 header.b=u6aW7MD6; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239144AbiAZJ1v (ORCPT + 99 others); Wed, 26 Jan 2022 04:27:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43684 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239117AbiAZJ1u (ORCPT ); Wed, 26 Jan 2022 04:27:50 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D5D1C06161C; Wed, 26 Jan 2022 01:27:50 -0800 (PST) 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 D9250B81C25; Wed, 26 Jan 2022 09:27:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21D99C340E3; Wed, 26 Jan 2022 09:27:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643189267; bh=vhq9IzfZY0Kkx/iKL/tX8aAEwobUSIlwyapbLm1SG0c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=u6aW7MD6w+srRDr2esmBrnP+5wgDjCkAElIkKryBN6VkGdyagIqHWsVDi8TghiJnl LyAmq1M0bueEVSPpk7iU49oakTEfv2kWppLeOc3loLvMi8ZVJdPiFNO92LIN5H+1oq zc4JDaHdpMdxMLJTnZdokPj7NY7TUiLzKLic8LIOXh9vaIrkq0AHwC/uGuUfDksPeP DjkxGzYwPwx+L3ppbJiEwY+TNYSKoAV/Y66Na+EGkneAUCqDQ1Kdd8FMo5DSVhqYwU 403Ho+S1GaU4hQnsatw9WBphT6xR6nhmn2QR+xtR7iGaU5Eq+P4rzQe377L4Ru5SWH Ew9n3rsZZt0gA== Date: Wed, 26 Jan 2022 17:27:42 +0800 From: Shawn Guo To: Andrej Picej Cc: robh+dt@kernel.org, s.hauer@pengutronix.de, devicetree@vger.kernel.org, festevam@gmail.com, kernel@pengutronix.de, linux-kernel@vger.kernel.org, y.bas@phytec.com Subject: Re: [PATCH RESEND 2/2] ARM: dts: imx6qdl: Handle unneeded MFD-subdevices correctly Message-ID: <20220126092741.GK4686@dragon> References: <20211216115529.2331475-1-andrej.picej@norik.com> <20211216115529.2331475-2-andrej.picej@norik.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211216115529.2331475-2-andrej.picej@norik.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 16, 2021 at 12:55:29PM +0100, Andrej Picej wrote: > 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 Use subject prefix like ARM: dts: imx6qdl-phytec: ... Shawn > --- > 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 2ec154756bbc..3590f439adf5 100644 > --- a/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi > +++ b/arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi > @@ -213,6 +213,11 @@ pmic_rtc: rtc { > da9063_wdog: wdt { > 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 >