Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp269588pxb; Wed, 27 Oct 2021 02:43:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0/Ak355V3cw9yPgLkI3rj+02OfdzBHQnhL+qqi/Udrdxm8EWaYKg6L0tJRmxar9VKll0R X-Received: by 2002:a63:8ac7:: with SMTP id y190mr15056780pgd.55.1635327826922; Wed, 27 Oct 2021 02:43:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635327826; cv=none; d=google.com; s=arc-20160816; b=Fky114iFddA0wzJqVHcNrEX0h38pdqJR4nIdGN3kTwH3uSRWjP1F4LRsP7uVJ8ZlOT VmjWJNkXmMoAvYEFW+XvWt677jBwqCm3fb8ySr+d36EH/o1F98MriVy+GV1KBP2dbsWl 0oR229EfZe/QISQ4wYLvB37YOHCXt+5G6wNQOjN0Zx/eOwTKInT8wYCkF31qvf9FFW4n Gze6J3dWL6+tDfjxBi9dWKf+JzmDTIq3uWmBCVKLod5cNZTeHOGYkm8RCaH2FFab5K0x agvi5596PL/8A8V5DueVyCl81lT0fnkMcS65/d4gU3k8S9O5coXFRUHIL72KwAhQMFpo KOTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+NelDXF27zh376nuZKTht06HRFY8IAGB5HDrOTlHXaU=; b=ke7TXc0NjPyBcSyMYgqDWmeNYm7LxdMvWgELiCiZtk0WkIW+JEZIpBMfsUDvmhf0Fq nXVvIlZTpmVAGxbtJZojBoTh0MZ9Z2m3OrzCAIKw2vTTmXhUOgPe8L6WgbQJL/h7us0h 5SNhKpMupb8kYuPi2wkTbIxw9ojJP/E70opfrTzg0RKOkxOwWl3zDXBNX/pqrKpHRc3a SfLXiirWn/oYeZIRbVIE9fEG7PIL/j2GaO99Rj+UAPs48KgKJNb46o6fVaeiZlfN0qUM efUXF8OMxEWcMNQgPylHPMER3lRA5Tinpj+nGigUcVV4k9uqH+tlAQbNLOfqNp+4ED1F 8y4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jXd7Kpto; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 35si31157875pgq.480.2021.10.27.02.42.59; Wed, 27 Oct 2021 02:43:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jXd7Kpto; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238738AbhJZTcA (ORCPT + 99 others); Tue, 26 Oct 2021 15:32:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238731AbhJZTbw (ORCPT ); Tue, 26 Oct 2021 15:31:52 -0400 Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3DB2C061570; Tue, 26 Oct 2021 12:29:26 -0700 (PDT) Received: by mail-yb1-xb29.google.com with SMTP id m63so274669ybf.7; Tue, 26 Oct 2021 12:29:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+NelDXF27zh376nuZKTht06HRFY8IAGB5HDrOTlHXaU=; b=jXd7KptoyXQebe9euhlvXUw0kli2jFKQEjBo/no0TC4HLIc9XAIO6c4Squkj3pcBSd sGCRDCEygq0GD9ZWnNSh3Z5tLH4YR9/JnI+WJkIbu0Mbo2nZTd9FN6cngpYUai/HsLEZ Xv4WIK18iPAUU0TZc/mk5DerZmIVcgg2OlJYc7a6c9zOJUmmnYMptqpZWk8n9oYe91Yz 0KiZxEb+oP6iHe7xKFbqKUVcSDr9i0V/z7rZ1AIxLfbjjm97/KCRLXXZ8mU80VErmDBz k2v+nNOXeB1jr2jUeINBm45OX2HdShgihZunviaaJqx09DdFmIdTu4vGpvnfFTEBi7yc 6yJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+NelDXF27zh376nuZKTht06HRFY8IAGB5HDrOTlHXaU=; b=2kOZv1LvopDems+jd/ad0E3xhkxnnzrrocViMHKtbkcB16pbvMzBuKaHGbxdB4L8LL XvODtF5jMww7pwPGpedfFihkjaWl00QsHLCqj/UUDQQ8+6giTY5k0TbW/rxIaBalkMR9 OUpUw+mayOXbRcVFlp3AZAYCVNwLa7Tvem+DiOAAn32IuFF8slDPALe+MMsIZkN9ysVZ 9a2TAgEOzZPQNq8+T1FWLquDir1HADQo0/bzhKZWSs4Pr+BUm1peBbUWP/h0eCiDt0aX n0w42rIqdtbUZjp1joNc3cb8Uop+DxuP5c+YznitP8auFzPE+zByPVZqGR/6CDg5F1sm UtfA== X-Gm-Message-State: AOAM533I+S2ILWDA3K0sANHuplkqbVDbK9pEyCZTGqz15k5OxeS16kow 2m6oU1NRu4nDe+TNizcP9RliAiDKLar/CtRsCR4= X-Received: by 2002:a5b:783:: with SMTP id b3mr25063420ybq.328.1635276566184; Tue, 26 Oct 2021 12:29:26 -0700 (PDT) MIME-Version: 1.0 References: <20210930121630.17449-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20210930121630.17449-3-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: "Lad, Prabhakar" Date: Tue, 26 Oct 2021 20:29:00 +0100 Message-ID: Subject: Re: [RFC PATCH 2/4] pinctrl: pinconf-generic: Add support for "output-impedance" to be extracted from DT files To: Geert Uytterhoeven Cc: Lad Prabhakar , Linus Walleij , Rob Herring , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Linux-Renesas , Biju Das Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, Thank you for the review. On Thu, Oct 7, 2021 at 6:02 PM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Thu, Sep 30, 2021 at 2:17 PM Lad Prabhakar > wrote: > > Add "output-impedance" property to generic options used for DT parsing > > files. This enables drivers, which use generic pin configurations, to > > get the value passed to this property. > > > > Signed-off-by: Lad Prabhakar > > Thanks for your patch! > > > --- a/drivers/pinctrl/pinconf-generic.c > > +++ b/drivers/pinctrl/pinconf-generic.c > > @@ -46,6 +46,7 @@ static const struct pin_config_item conf_items[] = { > > PCONFDUMP(PIN_CONFIG_MODE_LOW_POWER, "pin low power", "mode", true), > > PCONFDUMP(PIN_CONFIG_OUTPUT_ENABLE, "output enabled", NULL, false), > > PCONFDUMP(PIN_CONFIG_OUTPUT, "pin output", "level", true), > > + PCONFDUMP(PIN_CONFIG_OUTPUT_IMPEDANCE, "output impedance", "ohm", true), > > PCONFDUMP(PIN_CONFIG_POWER_SOURCE, "pin power source", "selector", true), > > PCONFDUMP(PIN_CONFIG_SLEEP_HARDWARE_STATE, "sleep hardware state", NULL, false), > > PCONFDUMP(PIN_CONFIG_SLEW_RATE, "slew rate", NULL, true), > > @@ -179,6 +180,7 @@ static const struct pinconf_generic_params dt_params[] = { > > { "output-disable", PIN_CONFIG_OUTPUT_ENABLE, 0 }, > > { "output-enable", PIN_CONFIG_OUTPUT_ENABLE, 1 }, > > { "output-high", PIN_CONFIG_OUTPUT, 1, }, > > + { "output-impedance", PIN_CONFIG_OUTPUT_IMPEDANCE, 0 }, > > "output-impedance-ohms", as per DT standardized property units. > Sure will replace that with output-impedance-ohms and to chime in Ill re-name the macro to PIN_CONFIG_OUTPUT_IMPEDANCE_OHMS Cheers, Prabhakar > > { "output-low", PIN_CONFIG_OUTPUT, 0, }, > > { "power-source", PIN_CONFIG_POWER_SOURCE, 0 }, > > { "sleep-hardware-state", PIN_CONFIG_SLEEP_HARDWARE_STATE, 0 }, > > With the above fixed: > Reviewed-by: Geert Uytterhoeven > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds