Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4345716ybv; Sun, 16 Feb 2020 20:07:06 -0800 (PST) X-Google-Smtp-Source: APXvYqwW22d8tB8FQszertPqTiMVxnBdSP+raEesiGB/DoArmbH2hoZfbrcP7I7HX6gXceJLYzdy X-Received: by 2002:a05:6830:1289:: with SMTP id z9mr11318669otp.317.1581912425904; Sun, 16 Feb 2020 20:07:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581912425; cv=none; d=google.com; s=arc-20160816; b=X1u3jM2+a1absh/HR31UWdfYinw6b0osViGOptwrtKKCyNuqKnDgMwUBquOc+pCnBQ PJo2qguFJtKWDpYVAgqWJHpDDUry7IfXrk468MIU/I9IUXz/jfhxT4V9RcmlXcgZ/kx0 nlwlgd9W1cgEE55o7rifwWzhzcBrGcsN2GvwpHbZNMRviNiTUzTrw2OsbcOL4Go8iKu7 IKeWNr7e4t3ouPGgsSUabY+VxnEcyGLtsG+hInzkGmz/Q0p+NUWnMmOMIIFWyJ7At8pA 1yG1UVm9Tgg8739AeTJSzy49YVIHFx0R5PWgYqYEaWgsCDOYzEIdrbxF8bx6gYwAbz09 BlSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=LddMXPvQVDWunp1pAAc2kiytU3wPbx7VFUxg/NVB0Js=; b=P+OiqCWSc9A0o+sSvlRXZfdmgvMhk8u9/2yoUztQmhc6+xzYA7IbTRIhC0lfIUeuun fwvaAozr6JhOg+PeIm1Op11ISaWeQRH+DJ3sxh4TlcdQhAQLfLA7AhaFthqYfjMStXJL JK+C3kTAhrv0NSNW/ZCc7xWUA3WgUDZMoVdKQ4FcVHS1We+yzTwVU8IMWlCaYGapEK7k xRnRgYF3a+FVgyuLfg4fLk+o87vOvL5BD0jHwMRJq/89qe2gtLgGHFYacsP9xHJBNhl2 u0haTfysn22y+ZZrxoKD3J5hf2TObBGDvAK7cZznNP/9KzbarjKfLwh/behf63Bh7dWA QXpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Fke/f2Ph"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id h64si5790784oif.215.2020.02.16.20.06.52; Sun, 16 Feb 2020 20:07:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="Fke/f2Ph"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727938AbgBQEFe (ORCPT + 99 others); Sun, 16 Feb 2020 23:05:34 -0500 Received: from mail.kernel.org ([198.145.29.99]:36396 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727811AbgBQEFd (ORCPT ); Sun, 16 Feb 2020 23:05:33 -0500 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E83C120726; Mon, 17 Feb 2020 04:05:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581912333; bh=COHRYy09mHaqje5Vnj5MQFsJbA5qpkK8tfzGXCr5eog=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Fke/f2Phbi9bhv8nqVj8HuRjf/h3SzwMJW2UZUazCSRQIeEM+5jw9Pv4QE3VloeoH 1gmbN/PrErT7/QozAM0WA2klfauYDW9v5i20xJS//TxMgtsBx+8UZdM8n5SBlYDgwk Fz2uK4i8LETUHP/xvbmQkRzyEoe7ZRC9+X5It3Kk= Date: Mon, 17 Feb 2020 12:05:25 +0800 From: Shawn Guo To: Martin Kepplinger Cc: robh@kernel.org, mark.rutland@arm.com, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, Anson.Huang@nxp.com, devicetree@vger.kernel.org, kernel@puri.sm, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, "Angus Ainslie (Purism)" Subject: Re: [PATCH v1 05/12] arm64: dts: librem5-devkit: add the sgtl5000 i2c audio codec Message-ID: <20200217040524.GE5395@dragon> References: <20200205143003.28408-1-martin.kepplinger@puri.sm> <20200205143003.28408-6-martin.kepplinger@puri.sm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200205143003.28408-6-martin.kepplinger@puri.sm> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 05, 2020 at 03:29:56PM +0100, Martin Kepplinger wrote: > From: "Angus Ainslie (Purism)" > > Describe the sgtl5000 of the librem 5 devkit in devicetree. > > Signed-off-by: Angus Ainslie (Purism) > --- > .../boot/dts/freescale/imx8mq-librem5-devkit.dts | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts > index e7e3766198c6..56b4ac286801 100644 > --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts > +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts > @@ -480,6 +480,19 @@ > vddio-supply = <®_3v3_p>; > }; > > + sgtl5000: sgtl5000@a { audio-codec for the node name. > + compatible = "fsl,sgtl5000"; > + clocks = <&clk IMX8MQ_CLK_SAI2_ROOT>; > + assigned-clocks = <&clk IMX8MQ_CLK_SAI2>; > + assigned-clock-parents = <&clk IMX8MQ_AUDIO_PLL1_OUT>; > + assigned-clock-rates = <24576000>; > + #sound-dai-cells = <0>; > + reg = <0x0a>; > + VDDD-supply = <®_1v8_p>; > + VDDIO-supply = <®_3v3_p>; > + VDDA-supply = <®_3v3_p>; > + }; > + Add a device only when there is a user for it. Shawn > touchscreen@5d { > compatible = "goodix,gt5688"; > reg = <0x5d>; > -- > 2.20.1 >