Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp217181pxj; Thu, 10 Jun 2021 20:03:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxavz4GFmArUaSvCkSN3GZLmRngGB2v7nHwd4LFWtUI4QK+08cEYhcGSzAlU4x+CoCUysP2 X-Received: by 2002:a17:907:2709:: with SMTP id w9mr1465158ejk.118.1623380584159; Thu, 10 Jun 2021 20:03:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623380584; cv=none; d=google.com; s=arc-20160816; b=fwLtQ/lGvJqFl2fYrk4/Ix1tb25OQDg8kosdNVpROlHJ9EpI76m2uevHzc8F8cH//n DNU12NM6treB9EI2bqHU0gDOulgWSOvXG2aZYCE1D/3j4b/SCDOjsEZnwVeoSJPu2dhM 2bTH4FkytNhD9f9iGAeYDwGCfIw3wgWuunKlbCb0KA5Ajp6gcNO65jFLzo8ybpgRarmR 2RR5iE8N6UeOUf7gc/Mw/ng1xWLgMkNurDZW+QGRSAGp2JABLvVVBpdUPP5Rg/mwD58P PG/uJpCQmH9KESTQ13le7S07BDs5KRa5ZUI7gW3eFT3h/imZIvYZ0a8GpXYNKrO0/0Ns kI3A== 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=CMqzFHpL/T/3Mu7pEcAjimpE29cdfMEPiGJnXB3dZDc=; b=karm0lIB4wQnktOM1TJeaPmLuqYmVNEwSCfO3O3b1zM5TZ4Or4xZeso5RtoO/CHXJI 2nnEYwOasZFde9QO5+j2PpN3c+Y21aObeG4SaZSeAGhTbHspOdmMQUZyV3Gq2dyhhL3G d1yN4QWiFdSXf5D9zmvRfRarpkOKTnDbWiTMJrZMIEe5JPzGjN4UKKPX1aqlKuHX5+5E mwv3VNqh0SOEq65xJNcqbof9f/kRm02XDEhcXj5FgAHw1s4i/sWvrnVsQ+K/zPy3xD/r yC0grm944p+jMSWIEi1DmhOy/CvTbPV40Gw8jmRR+xmLvTJ8NbGS1+Ut/+rcyoG+qBLa xKXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xhQjKJNC; 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 i11si4428157edb.418.2021.06.10.20.02.38; Thu, 10 Jun 2021 20:03:04 -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=xhQjKJNC; 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 S230251AbhFKDCm (ORCPT + 99 others); Thu, 10 Jun 2021 23:02:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230103AbhFKDCm (ORCPT ); Thu, 10 Jun 2021 23:02:42 -0400 Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B72EC061574 for ; Thu, 10 Jun 2021 20:00:43 -0700 (PDT) Received: by mail-ot1-x331.google.com with SMTP id o17-20020a9d76510000b02903eabfc221a9so1853105otl.0 for ; Thu, 10 Jun 2021 20:00:43 -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=CMqzFHpL/T/3Mu7pEcAjimpE29cdfMEPiGJnXB3dZDc=; b=xhQjKJNC5QUacmFM0L5+he2v67mA+MyCRbRQb5hMJPhkXWUFJ2q+Aetkcuz9I8lkqM CjYP3omEYdZTQbyRdqY17ZHgQ+KcD4Z1iVvUTahlp81bwIoc5GXCTqT3c69Cs0zDfye2 Vtpdk+ymJNY4WaJ4tk+7xRbTWNRHBH9hUwmVL3j/t5dX9ILtFpiAJZvNhPcct4JrxoGO Bh5O2V6JPi7MRKgQfr1XNVCrqBqd1KkvbPYmnfB40ycx97NGLIVDA8g9sSb6WvhQn+55 Dy1aUSNyTyiEzPT4eC+rYLKx3uk1pgeZ6uBGK/bufNeGVS4p5OxoyhG+FZgnnc+7FNZW gx6g== 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=CMqzFHpL/T/3Mu7pEcAjimpE29cdfMEPiGJnXB3dZDc=; b=AJ4M2hu1fgGa+cAmq+mHCifDuE/fFSZAt1CWj8xkXK3RCjp1MQ+6lISn79G4ngYYIn 7wpR5rYDy0iXZUFEwyxwE+X9C1knYqOSglIC85VX8Q902bztSueHhbFLxT2EZ5mvQ7bz OIlBEpAt/QUyvtDNnqP9V2te/a3n/AjuzFO8LvkJpNOSwoC3E4/LA4EoIqKC8+1jMn+E vnEuTMSF3qauR9lzZLPnKc/PvQeI49MlgleM9O5KqDx7U4LtB1YifNCPAbS62Y6ANIXA 2hapfz1JDkng3ZhDUTUnvN0RdNL4jNiHQWy1aqQDlc6fTBzyXHRu0d2OvbSy3hP+5VhG Gy2w== X-Gm-Message-State: AOAM533gJRvv0krpWFT+WjmdwnPzXqIAwpw3uakwbHAvg4irp6Fw7foA Ei2zolGGE/GwyPDX0xfmYN7+MQ== X-Received: by 2002:a05:6830:1d0:: with SMTP id r16mr1157644ota.116.1623380441709; Thu, 10 Jun 2021 20:00:41 -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 q15sm921677oon.28.2021.06.10.20.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 20:00:41 -0700 (PDT) Date: Thu, 10 Jun 2021 22:00:39 -0500 From: Bjorn Andersson To: Bhupesh Sharma Cc: linux-arm-msm@vger.kernel.org, Linus Walleij , Liam Girdwood , Mark Brown , Vinod Koul , Rob Herring , Andy Gross , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, bhupesh.linux@gmail.com Subject: Re: [PATCH 5/8] pinctrl: qcom/pinctrl-spmi-gpio: Add compatibles for pmic-gpios on SA8155p-adp Message-ID: References: <20210607113840.15435-1-bhupesh.sharma@linaro.org> <20210607113840.15435-6-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210607113840.15435-6-bhupesh.sharma@linaro.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 07 Jun 06:38 CDT 2021, Bhupesh Sharma wrote: > SA8155p-adp PMICs (PMM8155AU_1 and PMM8155AU_2) expose > the following PMIC GPIO blocks: > > - PMM8155AU_1: gpio1-gpio10 (with holes on gpio2, gpio5, gpio7 and gpio8) > - PMM8155AU_2: gpio1-gpio10 (with holes on gpio2, gpio5, gpio7) > > Add support for the same in the pinctrl driver. > > Cc: Linus Walleij > Cc: Liam Girdwood > Cc: Mark Brown > Cc: Bjorn Andersson > Cc: Vinod Koul > Cc: Rob Herring > Cc: Andy Gross > Cc: devicetree@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Cc: linux-gpio@vger.kernel.org > Cc: bhupesh.linux@gmail.com > Signed-off-by: Bhupesh Sharma > --- > drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c > index 00870da0c94e..890c44b6e198 100644 > --- a/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c > +++ b/drivers/pinctrl/qcom/pinctrl-spmi-gpio.c > @@ -1127,6 +1127,10 @@ static const struct of_device_id pmic_gpio_of_match[] = { > { .compatible = "qcom,pm8150b-gpio", .data = (void *) 12 }, > /* pm8150l has 12 GPIOs with holes on 7 */ > { .compatible = "qcom,pm8150l-gpio", .data = (void *) 12 }, > + /* pmm8155au-1 has 10 GPIOs with holes on 2, 5, 7 and 8 */ > + { .compatible = "qcom,pmm8155au-1-gpio", .data = (void *) 10 }, As noted in the binding, I think this should be "qcom,pmm8155au-gpio" and please skip the comment about the holes. Thanks, Bjorn > + /* pmm8155au-2 has 10 GPIOs with holes on 2, 5 and 7 */ > + { .compatible = "qcom,pmm8155au-2-gpio", .data = (void *) 10 }, > { .compatible = "qcom,pm8350-gpio", .data = (void *) 10 }, > { .compatible = "qcom,pm8350b-gpio", .data = (void *) 8 }, > { .compatible = "qcom,pm8350c-gpio", .data = (void *) 9 }, > -- > 2.31.1 >