Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8423645imu; Thu, 15 Nov 2018 11:17:24 -0800 (PST) X-Google-Smtp-Source: AJdET5ef3v+dzV0GVaeCnbFIdfovFqU460onN1qVkhIWKRNi14WPKJ/wA2oRk+uIVZUDuWfjc7kX X-Received: by 2002:a17:902:7e0d:: with SMTP id b13mr7607443plm.154.1542309444613; Thu, 15 Nov 2018 11:17:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542309444; cv=none; d=google.com; s=arc-20160816; b=DWAji2FLJtAmWzOEXFYDAR9Y1TeymKzdR89LuAmw7OxYnc6jKVhQY5CMFa/hEUNmHq Ja+KnlE76OMlgFolEUNfF4yCWRXEbb9ukG0XP95JZgjJ8A4bBvxPP4w27uzXJ0RRIOpa IfKhXcXyn10awq66xOq3vW6vk9o6xZJbu87o9Ae6IM7REDF9At3ZMviNcm67Kvgc3GLT DU2eHDUtCv5j9VLXKuoaG/+WDUQDfIRLBLqz+bDvFq55TMgdxv197z49PuUZDNYrk+0X 6R7/dYong82u7NRYZx4Ep1NmNWE0UjE4y9DAzUG5+EviosBWDfsePUDCumIHyVVI6m4V rFig== 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=YurAh5mAhfpuUB3OFE0dJ5x3x8KCJW8RmlRufbiVExY=; b=Q45thmHftyAato4MIkd1iF+6eFoTSz8S2GOolhmfXPOykRKiPFO7lo7uKMugYtzQVc t1WaOHDgPxWotr4w8a8VAB2qzgdgabgSztjSvpsH1hsUbVSqfZEXl6PjKam+MMRfQrUn rK6N2lO25LzYqR+D/HBQD5F5hjKmmNQUJ+WzvZn/G7pTOaKgaCXiVObNivcijKcroL0Y vEypNQhzP6211+FM6S0d/Qvtu1iS3Ma7ltFkTc/IvO0sUG5HHrarI1Cs4aBcYBSowa0x XX6pj2nitxWcfL4+yxRLrLfO3V8Feq4+RZZDK65c61WkpaYCKrSoqJIiG5qygDw7lj0f y4Jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NeAKhkX3; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p126si23878476pgp.529.2018.11.15.11.17.09; Thu, 15 Nov 2018 11:17:24 -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=@linaro.org header.s=google header.b=NeAKhkX3; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727701AbeKPFZb (ORCPT + 99 others); Fri, 16 Nov 2018 00:25:31 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:33627 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726453AbeKPFZb (ORCPT ); Fri, 16 Nov 2018 00:25:31 -0500 Received: by mail-pg1-f193.google.com with SMTP id z11so6803278pgu.0 for ; Thu, 15 Nov 2018 11:16:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=YurAh5mAhfpuUB3OFE0dJ5x3x8KCJW8RmlRufbiVExY=; b=NeAKhkX3QiwNNqJpLPYhDNMDCjnpan6fGkJOJtAl5apyXIT7AwPpjA6vzvruMr8uyQ jRkLImjAHsCI5+li13uu0z9a6fGcZQvMoacUQMJCngCUc3yq5rGyln8iOIwh/XXHLrbe HpFcyqHEBE/bTeVbAefAoorbhl46S0H1RCkb8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=YurAh5mAhfpuUB3OFE0dJ5x3x8KCJW8RmlRufbiVExY=; b=Ev/vFasfoPDg44ad7Hk2DZKCu4bz0DIpeAZjsjsdaj37PfH6s4EgOETLbE92T+oJkC wB8oNd1q/7/v47tBGAvLWbA7tcHvryi2nreyArLlAvOMZq7JgYGR3tzqMs8ElvGVeX9D Knjk6Mzbt9e70mxSB6/H2KFL+9Ojn6AVnzOu/CD6s19rn/0f5n67xvypiKZ8lcxKQ4MX ZdpOLvhL+wVtQnkoO2ICeIaY7sC623hbcBsF1dg8egvSczB4PDUtcczeUoiKxvbVQqtq PP75HYoeFXXgF5HyTkbZl2dtsGXMROH/EAO5sXO0GG+nj9n2VkOfqLRcX1H5seS4L5sM O+SQ== X-Gm-Message-State: AGRZ1gJj+r3eYtDrLkqPitBeDajBEv1M0KyQJz0D9cTBM/xYoTIZNsLM bk3YxmJXwVTl4+72L0L0p7EM2w== X-Received: by 2002:a63:cf56:: with SMTP id b22mr6622176pgj.336.1542309387628; Thu, 15 Nov 2018 11:16:27 -0800 (PST) Received: from tuxbook-pro (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id m198sm27774400pga.10.2018.11.15.11.16.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Nov 2018 11:16:26 -0800 (PST) Date: Thu, 15 Nov 2018 11:16:23 -0800 From: Bjorn Andersson To: Jeffrey Hugo Cc: andy.gross@linaro.org, david.brown@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] arm64: dts: qcom: msm8998: Add SDC2 control pins Message-ID: <20181115191623.GK10915@tuxbook-pro> References: <1542302291-6864-1-git-send-email-jhugo@codeaurora.org> <1542302291-6864-4-git-send-email-jhugo@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1542302291-6864-4-git-send-email-jhugo@codeaurora.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 15 Nov 09:18 PST 2018, Jeffrey Hugo wrote: > The SDC2 control pins are typically used to manage sleep. > > Signed-off-by: Jeffrey Hugo > --- > arch/arm64/boot/dts/qcom/msm8998-pins.dtsi | 78 ++++++++++++++++++++++++++++++ Rather than adding a -pins file, add the pinctrl states the individual dts(i) directly. > arch/arm64/boot/dts/qcom/msm8998.dtsi | 2 + > 2 files changed, 80 insertions(+) > create mode 100644 arch/arm64/boot/dts/qcom/msm8998-pins.dtsi > > diff --git a/arch/arm64/boot/dts/qcom/msm8998-pins.dtsi b/arch/arm64/boot/dts/qcom/msm8998-pins.dtsi > new file mode 100644 > index 0000000..a22abf9 > --- /dev/null > +++ b/arch/arm64/boot/dts/qcom/msm8998-pins.dtsi > @@ -0,0 +1,78 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* Copyright (c) 2018, The Linux Foundation. All rights reserved. */ > + > +&tlmm { > + sdc2_clk_on: sdc2_clk_on { Use _ in labels, - in node names. > + config { You don't have to put the pinctrl state properties in an additional subnode anymore, so feel free to remove the extra subnode level. > + pins = "sdc2_clk"; > + bias-disable; /* NO pull */ > + drive-strength = <16>; /* 16 MA */ Please push electrical properties to the board dts instead of the platform one, as they might be board specific. > + }; > + }; Apart from this the patch loogs good. Regards, Bjorn