Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2853583pxy; Tue, 3 Aug 2021 17:39:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNjRjoh0wYk4Jep4nCzTvrre+nBWSGp+u7JIRQSGZv1aMVDa1hGf4hY5bOdu/ojCCv370o X-Received: by 2002:a92:1a44:: with SMTP id z4mr739344ill.244.1628037590638; Tue, 03 Aug 2021 17:39:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628037590; cv=none; d=google.com; s=arc-20160816; b=e5/rvomPYskx+wx7ZBHz6UfTE8rSj49IiSdpy5N+GojypGe54YZYYu9rDJS1iJuywP Dhc5iUfrgkdftK2Du6UtrUYnFJn5y0ShdeKk/FI9fPpNTCFwRvbdTbOp5DeNOxphjlkq +y8Nk5Dw8e9yCxUs/f0uwl3sFhuil57kP7i0UxyLGBtMiVDzlayU8P/JTRmCeIIG80aw xmCz31n5Own3xgSvUytcGqyo9D7tdXvdfwhssVj8s7gbuL2wVwCoLVZaAYqUb4Pw3MaC 1vE20rWmlc7eAwi3aVUx9FVEoXDZuShIgW1krfHvn8aZbGdPrV0Ck8ODBy1AWvAb85Up PeTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ZYjWA4Yy8yni7nAey7btenmGHZpQImUmJ+PCgx2CI6c=; b=EG6WQP7gEuAaiek5miC1YYxI1895y9t/Wql1HazAnIjg0l/d9IyjM+CPalfs1FRu3G 3d6kseLRnUi92AaVQAxJMmk7mK7Lt8tcDgqOMZT7YlGjPNJGilR1IFl+a1h69KFjWruU fLZllZ4wM3fAkWmkmYba6B7PdAPEuPks+yJV2QSVcJOgW1p3VKYtI2UHka2+PzvKgK7O RoQZCuyGRDpQsrLCTeEIXVU371lzdysM7MB2zim2AdK20QpiOtJIMbErM8evoHPH8LnA RAj04OgDZdgl26ZMG6M7jMlvpQV7oY5tTdlicD+XTYHdHQTAF4wNmisdeYqhFSSCvhQE DVpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bVYqJBCL; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x15si508859ilv.107.2021.08.03.17.39.38; Tue, 03 Aug 2021 17:39:50 -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=@linaro.org header.s=google header.b=bVYqJBCL; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233671AbhHCXay (ORCPT + 99 others); Tue, 3 Aug 2021 19:30:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232171AbhHCXax (ORCPT ); Tue, 3 Aug 2021 19:30:53 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC338C06175F for ; Tue, 3 Aug 2021 16:30:40 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id f20-20020a9d6c140000b02904bb9756274cso67629otq.6 for ; Tue, 03 Aug 2021 16:30:40 -0700 (PDT) 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; bh=ZYjWA4Yy8yni7nAey7btenmGHZpQImUmJ+PCgx2CI6c=; b=bVYqJBCLY4efufEFB2E8p9Y6SUVjXZJaUScEShKt71dFXvF7/GZLLCOoh1YUZ2k2P+ 2RWIgKAzqdxMQsihrYyt+2QmR8q5Ui+rwuLSYU2wraL6QlAngaIsgnmwaXYgeOCarDRZ ouC6nTYVuegkgQOV1yZypVmuVQOTNAYAgMA2B/91Gy+u+M82wNqKtiGVrSrszDm3IpVE +InjYjyz7H7gwpvngvFN0PCQV3Yh0Xl4p7l7GkDx95PeH//fwHd6s09MFiLD6l4Hh4re 4WikR9UJukc/dH3luRoatBtut+jwCPdWb0pCANiGsQRph00h+rUNmY6Tt/TByXuUAp5b TIIQ== 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; bh=ZYjWA4Yy8yni7nAey7btenmGHZpQImUmJ+PCgx2CI6c=; b=FwSo1N+D/9yLIcU/GNFXyJPgwNCLWOtblXkyY3pPCm7dn9xZEFeZgM0vzTa8GZXlGK aDvtwB6IZgrJDo5r5X3w2cwTLFxX9hGCZqrjn/fKO+k+ZFOkO+MmSQSjYvEgka6DfkNX q/kWdz7c/ZS+AJR/SO1zWSzk92S/lo42k9p28nCxrfCOtzjA9ZaC16x90xyPaJ20e/ez E4mYrhJ9F18bcpYUKnmhUenqTnL/iAljqdSChN7v8AY4lI9wmpOZqRurFDygbbBXE/s5 4ftBfllIRy2+2T+u0Nw54TSXUqddHHkBbhDQe5ynV+Se9yXCWfmf1CUEOZXUX+xtx+E7 ysjg== X-Gm-Message-State: AOAM530aZZm+1EHB6SQGz4CsKJwhp/wv+KZgg9tsZ2vlZJ/KgXI8VK95 PJIwmSNgYdB3mADhWPTFuWwJXg== X-Received: by 2002:a05:6830:150e:: with SMTP id k14mr17217030otp.351.1628033440036; Tue, 03 Aug 2021 16:30:40 -0700 (PDT) Received: from builder.lan (104-57-184-186.lightspeed.austtx.sbcglobal.net. [104.57.184.186]) by smtp.gmail.com with ESMTPSA id n1sm102746otk.34.2021.08.03.16.30.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Aug 2021 16:30:39 -0700 (PDT) Date: Tue, 3 Aug 2021 18:30:37 -0500 From: Bjorn Andersson To: Konrad Dybcio Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, martin.botka@somainline.org, angelogioacchino.delregno@somainline.org, marijn.suijten@somainline.org, Andy Gross , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] pinctrl: pmic-mpp: Add missing dt-bindings mpp function defs Message-ID: References: <20210225213605.117201-1-konrad.dybcio@somainline.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210225213605.117201-1-konrad.dybcio@somainline.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 25 Feb 15:36 CST 2021, Konrad Dybcio wrote: > From: AngeloGioacchino Del Regno > > The pinctrl-spmi-mpp driver supports setting more mpp functions > than the ones defined in the dt-bindings header, specifically, > digital, analog and sink. > > To follow the current way of specifying the function config > in Device-Tree, add the missing three definitions in the > appropriate dt-bindings header as: > GPIO_MPP_FUNC_{DIGITAL,ANALOG,SINK}. > > Signed-off-by: AngeloGioacchino Del Regno > Signed-off-by: Konrad Dybcio I noticed that this has not been picked up yet. As changes to these files typically goes through the respective maintainer's tree I think it would be good if you pick up the acks and resend them. Also patch 1 and 2 has no real relationship, and per above request would be picked by two different maintainers, so please post them separately instead. PS. I merged the Tone dts using the strings instead of the defines (which I still prefer over using these defines). Regards, Bjorn > --- > include/dt-bindings/pinctrl/qcom,pmic-mpp.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/dt-bindings/pinctrl/qcom,pmic-mpp.h b/include/dt-bindings/pinctrl/qcom,pmic-mpp.h > index 32e66ee7e830..3cdca7ee1b3f 100644 > --- a/include/dt-bindings/pinctrl/qcom,pmic-mpp.h > +++ b/include/dt-bindings/pinctrl/qcom,pmic-mpp.h > @@ -98,6 +98,9 @@ > /* To be used with "function" */ > #define PMIC_MPP_FUNC_NORMAL "normal" > #define PMIC_MPP_FUNC_PAIRED "paired" > +#define PMIC_MPP_FUNC_DIGITAL "digital" > +#define PMIC_MPP_FUNC_ANALOG "analog" > +#define PMIC_MPP_FUNC_SINK "sink" > #define PMIC_MPP_FUNC_DTEST1 "dtest1" > #define PMIC_MPP_FUNC_DTEST2 "dtest2" > #define PMIC_MPP_FUNC_DTEST3 "dtest3" > -- > 2.30.1 >