Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1843903yba; Fri, 10 May 2019 01:54:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFxDonPb7GTkgXOjmzgiptowoVejjJ0YwmIMiZAMcdEm/LugDaK+oISixsUu6RnCk8Wklz X-Received: by 2002:a63:246:: with SMTP id 67mr12103320pgc.145.1557478494953; Fri, 10 May 2019 01:54:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557478494; cv=none; d=google.com; s=arc-20160816; b=EJSsWc25S0YlmKwgAC+GmvFMLpBJTFoJxKZsUq7aXcdBzzvZMTvMC/DlEZRhsLKd7M MWn8ACOl9+RdbmWZ1T2VdkvxkaMINA0nwIuzRRsElUuVU75ERsOpZHrnU5MggnBQNUxH edepo7ZDZQ3pjnvWFao59OJmoy8Z5WxKSnvcqF8FA8c5Ps6YQflwvEYMVfXjbKRIj32W y+qeDPqmiYSznwrYKvlac1siHDQJ9PYv9D6ZpS2r3bA2vi/PiAUd7/F7q3b84gvFeOpN oY46RHup8XCaVo34xhezrWKRXZywfDx6B5cAEpeMPbgW4JESA5DHgFUx1P0CIu6319bx M1vA== 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:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=aaM8432jFaEmhAAs5kJRzcW3PtFv9V/mPFGHY/gVINc=; b=ew7wLzpS0E8OOqZfFDMxf5q8HfPFK2IJRQ7n9tsXhfm9/x5QrF+fbMrk8vaiQnUi4x Esal1JlTEWilI0mRYrZMvjcZUSHH1zGrfh1MoYhLHVbE8ylhjCQHLpwdFG7ROYdYI1lB 0ILoqMzHmLNljfq/qYH9etzKJbAS65KsOBrHmkkLmEvDxuk1jyoTnum8m5Hz9Ho6CILx xDmowTlFK+BxStiTUj/2exozLqFYjoKOhv0TWq9r5O7snqr6uPkoMzsgJD7DzZERcLZE 59jX1v9wt1sR6vY7mGK4N4lNUqvu+iaMaxVY0GyerNGSrROQWpJDS2Ie274i/hxSbT46 IuAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=HC9GwhY1; 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 h62si7582283pfj.91.2019.05.10.01.54.39; Fri, 10 May 2019 01:54:54 -0700 (PDT) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=HC9GwhY1; 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 S1727161AbfEJIwL (ORCPT + 99 others); Fri, 10 May 2019 04:52:11 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:36496 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727097AbfEJIwL (ORCPT ); Fri, 10 May 2019 04:52:11 -0400 Received: by mail-wm1-f65.google.com with SMTP id j187so6544606wmj.1 for ; Fri, 10 May 2019 01:52:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:cc:date:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=aaM8432jFaEmhAAs5kJRzcW3PtFv9V/mPFGHY/gVINc=; b=HC9GwhY1KxcCvquoeRmAWTsEHBkGlMjC2GOSg6QgSOb4NqeO9tQazouSymWwoGOCjA 9JWrMkzWVeVEGra7oAVM1kJhEEZM/PhqiogQbhTl6twBJtLpQ0/MPg56TCYYAt+Nvv1o mCJg3YB/RHexlJfjgBa+KFzqJ5FvXDDHsnnWtvdJONcsi/MDywBvcfou5mimKwOEo1iZ aCqw/BkOF0tmUEWP1PK3VYzCYHdrfLvr1cLVaGotwWbUkfqHza9nLRXR4qX182qhGhEq TKz1aA9ZIVvYWW+B6qEF292a80KFSQDyuElD+0kAVBqsrRz195OMy7ClsyOwrwFgKNTG 4aNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=aaM8432jFaEmhAAs5kJRzcW3PtFv9V/mPFGHY/gVINc=; b=OX7uyNO8KuLe3LR45bxMSuTj4yW9anuudutg2ywjnSaSKg5qIXyKFIaUfscviB6mBe aXQwdPEf3WKXAvAoftN7htUEdbctMo9O4WvK0afOFsjV2k/332sJaSElkQt6Pe5OGsOa woTUv+Z6OeVOkORAKziVbvHynsHIGBlz/qJJ/yIux0bgmvgNXQyDOBKrYoDgRssssFxz vsQ9lys3AaCWxeMuQc8kmJRZ+oIY4azfNgNH/34XaHe3itaidtzW/22T59arOZZ0IbmQ clm843QQ5PXJDmrpQAFWxfk7J0xh84LZuGlnNLu+zg8OoMnajMTvOFcXg+G1+vhjPw83 xYuA== X-Gm-Message-State: APjAAAU7PaD1TDnU4cLKNNgCPaJZJJGs9XeZOyKy6VcT0xCTtaT0Sewi wPul/gShZu899oBwIilZfL4FHA== X-Received: by 2002:a1c:80d7:: with SMTP id b206mr5910297wmd.48.1557478328921; Fri, 10 May 2019 01:52:08 -0700 (PDT) Received: from boomer.baylibre.com (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id d4sm12281121wrf.7.2019.05.10.01.52.07 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 10 May 2019 01:52:08 -0700 (PDT) Message-ID: <331673da2c1cad1c72d61b45e0c614961445ec90.camel@baylibre.com> Subject: Re: [PATCH v5 0/6] Add drive-strength in Meson pinctrl driver From: Jerome Brunet To: Guillaume La Roque , linus.walleij@linaro.org, khilman@baylibre.com Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Date: Fri, 10 May 2019 10:52:07 +0200 In-Reply-To: <20190510082324.21181-1-glaroque@baylibre.com> References: <20190510082324.21181-1-glaroque@baylibre.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2019-05-10 at 10:23 +0200, Guillaume La Roque wrote: > The purpose of this patchset is to add drive-strength support in meson pinconf > driver. This is a new feature that was added on the g12a. It is critical for us > to support this since many functions are failing with default pad drive-strength. > > The value achievable by the SoC are 0.5mA, 2.5mA, 3mA and 4mA and the DT property > 'drive-strength' is expressed in mA. > So this patch add another generic property "drive-strength-microamp". The change to do so > would be minimal and could be benefit to other platforms later on. > > Cheers > Guillaume Guillaume, Several tags, such as Acked-by, Reviewed-by or Tested-by have been given on this series. Please remember to collect and add them to the commit description when posting newer revision of a series If you didn't already, please have a look at Documentation/process/submitting-patches.rst Thanks > > Changes since v4: > - fix dt-binding documentation > - rename drive-strength-uA to drive-strength-microamp in coverletter > > Changes since v3: > - remove dev_err in meson_get_drive_strength > - cleanup code > > Changes since v2: > - rename driver-strength-uA property to drive-strength-microamp > - rework patch series for better understanding > - rework set_bias function > > Changes since v1: > - fix missing break > - implement new pinctrl generic property "drive-strength-uA" > > [1] https://lkml.kernel.org/r/20190314163725.7918-1-jbrunet@baylibre.com > > Guillaume La Roque (6): > dt-bindings: pinctrl: add a 'drive-strength-microamp' property > pinctrl: generic: add new 'drive-strength-microamp' property support > dt-bindings: pinctrl: meson: Add drive-strength-microamp property > pinctrl: meson: Rework enable/disable bias part > pinctrl: meson: add support of drive-strength-microamp > pinctrl: meson: g12a: add DS bank value > > .../bindings/pinctrl/meson,pinctrl.txt | 4 + > .../bindings/pinctrl/pinctrl-bindings.txt | 3 + > drivers/pinctrl/meson/pinctrl-meson-g12a.c | 36 ++-- > drivers/pinctrl/meson/pinctrl-meson.c | 180 ++++++++++++++---- > drivers/pinctrl/meson/pinctrl-meson.h | 18 +- > drivers/pinctrl/pinconf-generic.c | 2 + > include/linux/pinctrl/pinconf-generic.h | 3 + > 7 files changed, 193 insertions(+), 53 deletions(-)