Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6610750imu; Wed, 14 Nov 2018 04:24:34 -0800 (PST) X-Google-Smtp-Source: AJdET5dcDFkAxu2IWO+WUIAj0Wd1d3DcvX3DkuNsspdi+5AqxrSsnP/0E9ARp7cSUw3lp8Ktsl7j X-Received: by 2002:a63:d104:: with SMTP id k4mr1514096pgg.227.1542198274495; Wed, 14 Nov 2018 04:24:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542198274; cv=none; d=google.com; s=arc-20160816; b=snkmTn7vIAhTvuifc3GCwCMFC8qtLcPO/4M0hxa2ZzA6PZZzx2jex8N/W/qtCSBApE 4kWzFauj4Oorcfogu2I5TutBoyw51C6V7podIUgcMhsW+mYlY6vAghpBxpVnRQhr6bQv j+PfGg5aQRsu8kMzC5Q5dfMEMRrJHB1BPn+aw1cqH88rlzu2mBYSd9UzmZFMRdNVXPLU O2nYh4W+oJMzIhzYPQ65vFW8AteWI048MY+Ce4KlFfFB/LeY1EfBdrnJsVMN9DDbPpBR Ee2gGnLntoppCcsKZZTDdH6Lfnx5kVFJRtYDPUlN3UL/t7K8N1n/RtwnbWsoogdnQuSv BExA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=Xzuyw7aHN17GbyOEiVGgxXK3KpCMmw+PFBkTzG02F0M=; b=l6HXi5CgPSGI/bZu+R+QYWgKPwTTqDhKTt4OQng5L2uw6AS0RZa1Zx+aMindl/q2dS pn3rPFJeS3U+Q8HdjkcQbieMYPo4HOiE4SduI0Dc1JM+I/ZAVrHoMfFcefBvsE5Wa9T9 KVSt2yU7lBI8nqxkJACAwcaDKxxSsUVWOm+uf1dku9P++IQRDP8mShQpwp6lfMiSXPEO uUkk8mx3bE7dzhqrBFeJgZXdYk2azM3508+CV3zE4C7ZWjcUlgLxsImmBFe9jv1Hpawq 01krcmsxNPwZAQKlDDhMgRCHLyVWmQvlCHVQKehmpVaQtWUmz5zBXoSKxs9PwGu1pQij +F/g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f10si23449009pgl.528.2018.11.14.04.24.14; Wed, 14 Nov 2018 04:24:34 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731746AbeKNWZO (ORCPT + 99 others); Wed, 14 Nov 2018 17:25:14 -0500 Received: from regular1.263xmail.com ([211.150.99.141]:46024 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726823AbeKNWZO (ORCPT ); Wed, 14 Nov 2018 17:25:14 -0500 X-Greylist: delayed 403 seconds by postgrey-1.27 at vger.kernel.org; Wed, 14 Nov 2018 17:25:09 EST Received: from david.wu?rock-chips.com (unknown [192.168.167.208]) by regular1.263xmail.com (Postfix) with ESMTP id 3FEF820B; Wed, 14 Nov 2018 20:15:07 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from [172.16.12.33] (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id 0095836B; Wed, 14 Nov 2018 20:15:06 +0800 (CST) X-IP-DOMAINF: 1 X-RL-SENDER: david.wu@rock-chips.com X-FST-TO: jay.xu@rock-chips.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: david.wu@rock-chips.com X-UNIQUE-TAG: <1da1d5fd2d013de4e9da29dbe4bdd030> X-ATTACHMENT-NUM: 0 X-SENDER: wdc@rock-chips.com X-DNS-TYPE: 0 Received: from [172.16.12.33] (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith ESMTP id 18819XRI6PC; Wed, 14 Nov 2018 20:15:08 +0800 (CST) Subject: Re: [PATCH 1/2] pinctrl: rockchip: allow specifying the regmap location for pin-routes To: Heiko Stuebner , linus.walleij@linaro.org Cc: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, shawn.lin@rock-chips.com, Heiko Stuebner , =?UTF-8?B?6K645YmR576k?= References: <20181111210047.30375-1-heiko@sntech.de> From: David Wu Message-ID: <62b7937e-0d7e-d142-285e-6dc15e6f5822@rock-chips.com> Date: Wed, 14 Nov 2018 20:15:06 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181111210047.30375-1-heiko@sntech.de> Content-Type: text/plain; charset=gbk; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Heiko, ?? 2018/11/12 ????5:00, Heiko Stuebner ะด??: > From: Heiko Stuebner > > Right now we expect the pin-rounting settings to be in the same area > as the iomux setting itself. And while that seems to be true for all > newer Rockchip socs, back in the wild west days of old this wasn't true. > > Nowadays pin settings in the GRF normally stay in the GRF and the same > is true for pins configured from PMU registers. But old socs like the > rk3188 really sprinkle pin settings somewhat randomly through both > for its bank0. > > Therefore add the option to specify a location for the route setting, > so that we can map older socs correctly. We'll keep "same" as the > default, so that we only need to specify a location in the corner-cases > described above. > > Signed-off-by: Heiko Stuebner Very good, for the mixed case, really need to do the supplement. Reviewed-by: David Wu