Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4841492imu; Mon, 12 Nov 2018 18:50:53 -0800 (PST) X-Google-Smtp-Source: AJdET5eq/IjWBP4t6EL72Wnq/EN/z2+34Rht9z48F8IA3xh67TJzuMIl9UsoQCJAFdFZFSf4OsTu X-Received: by 2002:a63:7cf:: with SMTP id 198mr3165362pgh.129.1542077453649; Mon, 12 Nov 2018 18:50:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542077453; cv=none; d=google.com; s=arc-20160816; b=woZjTjZzS7JUQvdYjEA/jQeMpgrsqnh05GY0YJmiRHrckjFjV9bqL6kXr6tk2y0Jy9 Sbn7GW6+YVyv0/vEKnRNgrsuE+Y1wjCEKPHSQv24aHaHBVto34l6NkpbUSOleZ9wAu/6 k4RhL1b2rBUxG4qxriZBtUWxYyDd2qAEWp9MbIoXkItkf7YrWzJgIGJp7kfrut4lFA7g RxXLxXWiWzes/XIRiFeYVvuApkBCNCU+7Om+5POtaRRy+Kpfde2JSbqPpb2lnKFtNCPf 8KUnGTtsEiIUdEwiOQTM5MPGP8Xbu2XnU84V32LKPrtVXZrkHGX/VMQ8Qf8+anFdqIRG Wm6A== 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=oT1hUpNPL7ChT4bWwvAqa+cFPfLJQhcjlzEWpQA7db8=; b=PXZYqwR9zu5ZDyBXSIwkPMwbm91/060VrUvtcBPzGOc2YORtZApYHcc0w0JOSRz0Yo 4u0p7hijopAXs90ZsrmnN3/8NTPQSk93D1Cz46oSTT6aN/fcxFdj1N5CA5OZGq/tKwhc QuewIlFer3di+V/sbxWt8YhbeLskBJUld6w7n3FwMTzixQj01+/MAGyyzYKuqxecQs8q Mb+p8GHhfaDUZq64nJeWqJG5EAtU2dRipKhO3P8zUw3CpMbL4LeKqg+npBQMcLRyHYSM hDXZg0XxX30etAXEf9TKEPQNRpdN7NNJaXSb3WFlflcNKn2g5XS2RIHFC8WXyKNGBI0Z /RNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="FU/5tsB9"; 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 z8-v6si18629428pgc.286.2018.11.12.18.50.37; Mon, 12 Nov 2018 18:50:53 -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="FU/5tsB9"; 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 S1729324AbeKMMqQ (ORCPT + 99 others); Tue, 13 Nov 2018 07:46:16 -0500 Received: from mail-pf1-f196.google.com ([209.85.210.196]:38103 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727496AbeKMMqQ (ORCPT ); Tue, 13 Nov 2018 07:46:16 -0500 Received: by mail-pf1-f196.google.com with SMTP id v76-v6so2438219pfa.5 for ; Mon, 12 Nov 2018 18:50:15 -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=oT1hUpNPL7ChT4bWwvAqa+cFPfLJQhcjlzEWpQA7db8=; b=FU/5tsB9+W5hZD3tDk9a9WOByX80jjqyWxXCTIkedAO+Be10CoOCWGh31SkTE9JgM5 c5PsTmEIkpbqWRCE/rmx8yLa82kG7n1qu+ZYg8Wl0YMVajyvGYIROi9ec5MU3rEe0ZaO 4+30ArK9zM4ni08+auAU9kHcz3APitfSqem3k= 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=oT1hUpNPL7ChT4bWwvAqa+cFPfLJQhcjlzEWpQA7db8=; b=NY22v3xIc8mx72cLdKyyf0pNPAhWbueMCO6BpqTii+L2Nc2Y8P+FL5I9HIdt27kqhV oSdIK9NKxw051SIz9y+6U2wfU9iAh1J247BCRClVM8I95g+bepKt+9Y8bdAsaecnHWm4 UJqEE2FbPg5qlhR2Eg+2UVbBW7rsewSlpDDXOMGj7/M3hzOzOQF20OJlTCaWN7CdBkxX alYb8belcCuil+ONI1Y0qloLSFQ4c42lb8xxdZ/xR+zW5kv7rVEag+e7VOUXoouRrDKM 1wobqZ0QlwZObK5zDWnnS8Tcwsw3HPAZ96KZpVToukImov8i/Cc0plNlp+spoYO3WFjX Lahg== X-Gm-Message-State: AGRZ1gLD/23M5jqx05kxuVz7e9XLBS/SSy17ppHITBDdHRqF4fDq11mB WJXc69CSgqz9IQy77IvqroJMPw== X-Received: by 2002:a62:5210:: with SMTP id g16-v6mr3335866pfb.256.1542077415088; Mon, 12 Nov 2018 18:50:15 -0800 (PST) Received: from minitux (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id g15sm1084734pfj.131.2018.11.12.18.50.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Nov 2018 18:50:14 -0800 (PST) Date: Mon, 12 Nov 2018 18:50:12 -0800 From: Bjorn Andersson To: Craig Tatlor Cc: linux-arm-msm@vger.kernel.org, Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] pinctrl: sdm660: Set tile property for pingroups Message-ID: <20181113025012.GD10088@minitux> References: <20181112202553.1410-1-ctatlor97@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181112202553.1410-1-ctatlor97@gmail.com> 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 Mon 12 Nov 12:25 PST 2018, Craig Tatlor wrote: > This was missed when tiles support was added in a revison and > causes the driver to fail to load. > > Fixes: 9cf0c526bc58 ("pinctrl: qcom: Add sdm660 pinctrl driver") > Signed-off-by: Craig Tatlor > --- Sorry for not spotting this in my previous review. Reviewed-by: Bjorn Andersson Regards, Bjorn > drivers/pinctrl/qcom/pinctrl-sdm660.c | 28 ++++++++++++++------------- > 1 file changed, 15 insertions(+), 13 deletions(-) > > diff --git a/drivers/pinctrl/qcom/pinctrl-sdm660.c b/drivers/pinctrl/qcom/pinctrl-sdm660.c > index 6838b38555a1..1bfb0ae6b387 100644 > --- a/drivers/pinctrl/qcom/pinctrl-sdm660.c > +++ b/drivers/pinctrl/qcom/pinctrl-sdm660.c > @@ -33,7 +33,7 @@ enum { > } > > > -#define PINGROUP(id, base, f1, f2, f3, f4, f5, f6, f7, f8, f9) \ > +#define PINGROUP(id, _tile, f1, f2, f3, f4, f5, f6, f7, f8, f9) \ > { \ > .name = "gpio" #id, \ > .pins = gpio##id##_pins, \ > @@ -51,11 +51,12 @@ enum { > msm_mux_##f9 \ > }, \ > .nfuncs = 10, \ > - .ctl_reg = base + REG_SIZE * id, \ > - .io_reg = base + 0x4 + REG_SIZE * id, \ > - .intr_cfg_reg = base + 0x8 + REG_SIZE * id, \ > - .intr_status_reg = base + 0xc + REG_SIZE * id, \ > - .intr_target_reg = base + 0x8 + REG_SIZE * id, \ > + .ctl_reg = REG_SIZE * id, \ > + .io_reg = 0x4 + REG_SIZE * id, \ > + .intr_cfg_reg = 0x8 + REG_SIZE * id, \ > + .intr_status_reg = 0xc + REG_SIZE * id, \ > + .intr_target_reg = 0x8 + REG_SIZE * id, \ > + .tile = _tile, \ > .mux_bit = 2, \ > .pull_bit = 0, \ > .drv_bit = 6, \ > @@ -82,6 +83,7 @@ enum { > .intr_cfg_reg = 0, \ > .intr_status_reg = 0, \ > .intr_target_reg = 0, \ > + .tile = NORTH, \ > .mux_bit = -1, \ > .pull_bit = pull, \ > .drv_bit = drv, \ > @@ -1397,13 +1399,13 @@ static const struct msm_pingroup sdm660_groups[] = { > PINGROUP(111, SOUTH, _, _, _, _, _, _, _, _, _), > PINGROUP(112, SOUTH, _, _, _, _, _, _, _, _, _), > PINGROUP(113, SOUTH, _, _, _, _, _, _, _, _, _), > - SDC_QDSD_PINGROUP(sdc1_clk, 0x99a000, 13, 6), > - SDC_QDSD_PINGROUP(sdc1_cmd, 0x99a000, 11, 3), > - SDC_QDSD_PINGROUP(sdc1_data, 0x99a000, 9, 0), > - SDC_QDSD_PINGROUP(sdc2_clk, 0x99b000, 14, 6), > - SDC_QDSD_PINGROUP(sdc2_cmd, 0x99b000, 11, 3), > - SDC_QDSD_PINGROUP(sdc2_data, 0x99b000, 9, 0), > - SDC_QDSD_PINGROUP(sdc1_rclk, 0x99a000, 15, 0), > + SDC_QDSD_PINGROUP(sdc1_clk, 0x9a000, 13, 6), > + SDC_QDSD_PINGROUP(sdc1_cmd, 0x9a000, 11, 3), > + SDC_QDSD_PINGROUP(sdc1_data, 0x9a000, 9, 0), > + SDC_QDSD_PINGROUP(sdc2_clk, 0x9b000, 14, 6), > + SDC_QDSD_PINGROUP(sdc2_cmd, 0x9b000, 11, 3), > + SDC_QDSD_PINGROUP(sdc2_data, 0x9b000, 9, 0), > + SDC_QDSD_PINGROUP(sdc1_rclk, 0x9a000, 15, 0), > }; > > static const struct msm_pinctrl_soc_data sdm660_pinctrl = { > -- > 2.19.1 >