Received: by 10.223.176.5 with SMTP id f5csp1012547wra; Tue, 6 Feb 2018 11:01:43 -0800 (PST) X-Google-Smtp-Source: AH8x226g+ceI3S4b+4PYi1sBVup3vueEU7Oafaq4n2grJzfZflCJ//+o3nP6HMa3hl0t1VyNaOZe X-Received: by 2002:a17:902:6e01:: with SMTP id u1-v6mr3380116plk.12.1517943703736; Tue, 06 Feb 2018 11:01:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517943703; cv=none; d=google.com; s=arc-20160816; b=dhocAdtLp1gWzeBwsH2WmiblywoZXYNUIciwKISM6YcuJS/3/reLydeGHuHgjGD1L8 kBlb2KweAr7JW1NOpHtteVsH9faBCnkx9zS3IAzxNCZ/9Chzi+Iusf1ioNe+X3WfBXFE wXzYEdUaqz0KxW/aiaq7/H/eGlQDl4KKPN1CYhTAi8RTGwlJWa4s2VuF5pIv90pW+eHJ Jw3BfW1RgB+Wv+O44PQNDUso6NFSoRl8Rvvh3wiiHuBkl7V97M4u9bcn4VotuiS7/0kY dI20yAYogSkgvTf4VHkMXNVwxO6rifWJD/tneD9IxLqS+OK+4PYErTGVy8O7u3gLCvJ0 UZ5w== 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:arc-authentication-results; bh=ZjbIjUS/bUrus7uykkx3hWJqlRHQCfeOdHuTrAhLqj0=; b=eVl7Mm6tjZcZsRAGy1Qdw7F0XWKK3BWwGSFu0q3AdOgV+oEZHUrQTPGNSH6POaHjle BU1fGBRV/BMKnAgV7z3lJhnwaAl1x/iXmiHaNbjXqLFCvrabKwu5zGKtawaBhkfJ8uNQ 7AXV4yvMMLAxgJ+7Xp8w29+nZyhiKtR3y1hzE8YdZTvuGvUtmLxGJCFWQOCuwrgE5RPm m4eho+KQkN1WPIm3bURlo/67z0zO4FidAWp+eUFi9vV8AALI2X0MbjHLbIrMDEcxCcZR XCbWVfOKTMHzSDLEzvXwMPgDzt+yc7kfDLtOibxZv1Qo3El4p7WncJqvfN15acBx/vxu xezQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=C/vXK4AV; 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 g59-v6si6571167plb.469.2018.02.06.11.01.29; Tue, 06 Feb 2018 11:01:43 -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=C/vXK4AV; 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 S1752873AbeBFTAo (ORCPT + 99 others); Tue, 6 Feb 2018 14:00:44 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:33852 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752688AbeBFTAh (ORCPT ); Tue, 6 Feb 2018 14:00:37 -0500 Received: by mail-pl0-f67.google.com with SMTP id q17so1844250pll.1 for ; Tue, 06 Feb 2018 11:00:37 -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=ZjbIjUS/bUrus7uykkx3hWJqlRHQCfeOdHuTrAhLqj0=; b=C/vXK4AVKVlUwIKch32ioo/fw6P5/hpMCso6VUYa+x6yunVQvQJY32zwwGRQCntXsH q5l/m624ljzpZyDZd0bH3xlK7xxf9oUb0kTqgX9ajTM0HTCDREy2lFp9QinVtt+5So35 uf/z5pgvt/ToGtNdXQwouvqzPkdxuumGukRSc= 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=ZjbIjUS/bUrus7uykkx3hWJqlRHQCfeOdHuTrAhLqj0=; b=M9DhYfo7x91v92RmOsFenXUkDMEnX6GduIt37RXRnY7ilcKRY25/BNwqNMKHIzGbBQ pRWonFs5kN4LKFoL/MRx3MagOJjOR8uHjnkQPr4LgYHmY084X2rY4DdWsC44oadvAkrE oW/6j3BpfXwJQziCkSiJznHdCwZ7WgMGpX8WwnYOJHSyYDzHs0EOUeAp5iFrf3ScPJ7W dYW/F5ybn+Bdik6/KgKJO3HCx6X/s46qog0ZMheyZQzu2dMhxyzst26kost3OUnxX8f4 eVnKXL3Gp4Nsmx+LfZRmdsR3+TJ19EU4TgxZ0Uu88u0wfw8erb8f0nEFzGowLVyb5a1Q robg== X-Gm-Message-State: APf1xPCIoICGZ4fgiRx1BtRFDx91ytYWRQPMkqrrkUWssnocobafVaK4 H3s6JgNRaauZBHStv8b4vtb3QA== X-Received: by 2002:a17:902:40a:: with SMTP id 10-v6mr3327662ple.88.1517943636840; Tue, 06 Feb 2018 11:00:36 -0800 (PST) Received: from builder (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id p62sm23452229pfi.88.2018.02.06.11.00.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Feb 2018 11:00:36 -0800 (PST) Date: Tue, 6 Feb 2018 11:00:34 -0800 From: Bjorn Andersson To: Rajendra Nayak Cc: Stephen Boyd , andy.gross@linaro.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH 2/2] arm64: dts: sdm845: Add serial console support Message-ID: <20180206190034.GK9465@builder> References: <20180125163216.29018-1-rnayak@codeaurora.org> <20180125163216.29018-3-rnayak@codeaurora.org> <20180126221808.GE28313@codeaurora.org> <086251c4-b012-236c-33e2-9cab551a4594@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <086251c4-b012-236c-33e2-9cab551a4594@codeaurora.org> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 29 Jan 00:18 PST 2018, Rajendra Nayak wrote: > On 01/27/2018 03:48 AM, Stephen Boyd wrote: > > On 01/25, Rajendra Nayak wrote: > >> diff --git a/arch/arm64/boot/dts/qcom/sdm845-pins.dtsi b/arch/arm64/boot/dts/qcom/sdm845-pins.dtsi > >> new file mode 100644 > >> index 000000000000..b97f99e6f4b4 > >> --- /dev/null > >> +++ b/arch/arm64/boot/dts/qcom/sdm845-pins.dtsi > >> @@ -0,0 +1,32 @@ > >> +// SPDX-License-Identifier: GPL-2.0 > >> +/* > >> + * Copyright (c) 2018, The Linux Foundation. All rights reserved. > >> + */ > >> + > >> +&tlmm { > > > > I'm not the maintainer, but I find this approach to the pins > > really annoying. I have to flip to another file to figure out how > > a board has configured the pins. And we may bring in a bunch of > > settings that we don't ever use on some board too. Why can't we > > put the settings in the board file directly? > > I was just keeping it consistent with how things are for other > qualcomm platforms. I can move this to the board dts if no one else > sees any issues. > What we decided recently for 8916 (at least) was that we define the functional properties in the soc dtsi and add the electrical properties in the board dts(i). I fully agree with Stephen on this one, but as you say we're keeping the pinconf in separate files for the other platforms/boards. I'll prepare and bring some new guidelines to our Thursday meeting and we can decide what to do based on that. Regards, Bjorn