Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp545361yba; Thu, 18 Apr 2019 05:49:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeAkBy0EF3WVxAEsfx9Cr6PlgagEqK/yGKxWcnTEWPvUr6SoHzsaPpL+HIb5okdYRdQ5qo X-Received: by 2002:a17:902:525:: with SMTP id 34mr83538159plf.138.1555591797201; Thu, 18 Apr 2019 05:49:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555591797; cv=none; d=google.com; s=arc-20160816; b=Q5/f+AwAQXs9fc6ZL+kUAY41mkhmjTng/EzRSvkYIE/P+M8cWWH+2ScFPen4u/T/5+ pD4C8r7MSBiHQ3/rw8m8UKKNKdA4oRCRZEzgAmBzGz+RAKenKmUNXuvNDvm0iWgd96yq QURiOTe66kIFcTVtmBW052gCaIuOr4ST8qNdGsIG1cPb/YzriZj9Tv0Qip7v9pKv+UBL YrjfiiQsOq/hWoExv6eFUpDdy9VvJbZu7ppUtJr4uqnUEzOK+PyrtNBCK/hCGVbAyZ4s GwCwwPoRpfe53ek/qmB6h6DXI5vn92dO3UTwPeQdNWlH8ZVcz20Bd/cgNLYZumy36sC7 /GlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=zCoFO+U6J6V4upBBcgRbShJ9mBRp671ZMCkEN4roMmc=; b=H+xwmo+AnL1QItgIDxt1cT3NYYJnq2HDrzFhqEw4xWc1krdB+uEGYJPJkiajFM43/o N4jqY2OCoJmshVnl3nZQhoO4JpmC5+yEsiJWQV5hd47rCUFZbRyRBvgsUK+Z8kGPnqJR Z3P3a9cGVpk2reLHHCYKnKZCow1y96iofi33gHw8cp10ObcOdadK00qVuppY5X1mnXxq jFtWZHQ6S4ZslpyM/VkWlQe4VNaWvxxN+Lft6xI2IZt5DkJIglJ//eFxvmYrVKTpVRu9 Re4LpDV0nZoiPcwoRa+b2pXhg/3JyEnSNBEinhjrSa+zOl21/Ee0wagzwErR9fgkFyKQ ZOXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="Kwi7D6/7"; 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 n69si2211721pfb.256.2019.04.18.05.49.42; Thu, 18 Apr 2019 05:49:57 -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="Kwi7D6/7"; 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 S2388375AbfDRMsC (ORCPT + 99 others); Thu, 18 Apr 2019 08:48:02 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42135 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbfDRMsC (ORCPT ); Thu, 18 Apr 2019 08:48:02 -0400 Received: by mail-wr1-f67.google.com with SMTP id g3so2817734wrx.9 for ; Thu, 18 Apr 2019 05:48:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=zCoFO+U6J6V4upBBcgRbShJ9mBRp671ZMCkEN4roMmc=; b=Kwi7D6/7UCuK21K17QZqCdwlWSBCXkwz6XCwmCXGiRakEUBWbpffLd5GIPa8TOTnZe HJPjRXeizM+cNiyc9YSx3MH5G+uDrNhLsl1yyn782+uLQuPBx9YDYXmpkqrxT0b5/H+A qOhI08DFFa9e0FKEyG4jcGCXR/QGfHbhzyiFUJmVB6slQFapECurO3ytG8xtP5Jrr1Gc awb672/ItMblTTvml5CpIIx/pzWbMv1gaaSHbku85/uHSC4etip6hPW55RfxgkDBxlZ7 edvkyz5woRH5rm4ybvQz8SPGT0LNFwJZr+viCZQBe8RFeKIggWClUhzssEmwRpCzzDu9 CgxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=zCoFO+U6J6V4upBBcgRbShJ9mBRp671ZMCkEN4roMmc=; b=SfPU0cju/O1ecCU0DSJ8S9xWSZVQAJ2mweKjQF5D+b0q67b8lcKcZNpTNbvBLGw7jk lEKPqiIdMVQMM9ha25VHAhJ/1leBFyY81eSbr/qmLiOnrHaDc4HOk1oCPSxb2fIf1dcZ 7tGIk3UQ5mAWHX0wTH60+xiHXBhEJEo0YnRgXZBk/8rLBIWeegWIdZLH7ksneDhvVN0f wU0cUIT0Ti+UlMyDObxM87jF+8vWgiag80Ryk4y+CXSLnlqIUFTC9BOMzRnoc9OWwAfl jCpAK1prZG6GxzjethavTNmFB5QI/1pSpEb8erN2k8VjEm2eRfS2zpmXP2QgpW67DLJo H6hg== X-Gm-Message-State: APjAAAU033PLoSARKLZ6zxxX5/jXQVh/jC+OEpArRgZEXETlvCDUShmJ aJnPxzHVnQcnSGgBDACjvteliQ== X-Received: by 2002:adf:e703:: with SMTP id c3mr7659644wrm.98.1555591680673; Thu, 18 Apr 2019 05:48:00 -0700 (PDT) Received: from glaroque-ThinkPad-T480.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id q17sm1256823wrw.70.2019.04.18.05.47.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Apr 2019 05:47:59 -0700 (PDT) From: Guillaume La Roque To: linus.walleij@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, khilman@baylibre.com Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/4] Add drive-strength in Meson pinctrl driver Date: Thu, 18 Apr 2019 14:47:54 +0200 Message-Id: <20190418124758.24022-1-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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-uA". The change to do so would be minimal and could be benefit to other platforms later on. Cheers Guillaume 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 (4): dt-bindings: pinctrl: add a 'drive-strength-uA' property pinctrl: generic: add new 'drive-strength-uA' property support dt-bindings: pinctrl: meson: Add drive-strength-uA property pinctrl: meson: add support of drive-strength-uA .../bindings/pinctrl/meson,pinctrl.txt | 3 + .../bindings/pinctrl/pinctrl-bindings.txt | 3 + drivers/pinctrl/meson/pinctrl-meson-g12a.c | 36 ++-- drivers/pinctrl/meson/pinctrl-meson.c | 166 ++++++++++++++---- drivers/pinctrl/meson/pinctrl-meson.h | 20 ++- drivers/pinctrl/pinconf-generic.c | 2 + include/linux/pinctrl/pinconf-generic.h | 3 + 7 files changed, 174 insertions(+), 59 deletions(-) -- 2.17.1