Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp217443pxj; Thu, 10 Jun 2021 20:03:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5Ftzweit52h2Fy/BM3e35QZdl2KBe4PCHoIMMFhQWOkktb48QHx949l9xM4iaZ5AdhkU1 X-Received: by 2002:a17:906:f88b:: with SMTP id lg11mr1357639ejb.99.1623380612424; Thu, 10 Jun 2021 20:03:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623380612; cv=none; d=google.com; s=arc-20160816; b=qFu0SxfN998MhXXbfs76bd/YBH29J2PaV+//TJXei4NAUCUjINAhZfg1tq+Ahx6ErE bufDORgmbfWa9w+zfmjTNc9g2tH2KrdJPrM4SKuL8S6KG154c6FX7UiwDn+U3LshzFS2 iGAk2qQO9M6tyLxl9izi/kYXwqpnmr++WIPAfkVbLF4zdah12eZIGgAOFz52QgstEjLH u8mTr+fBL8XmEy2JtWzInQ6oUITqoZGPRUmN1s934Xoh7dMqvOppALt6QGPQc9Jp2B7f jsw6AmrC2SIUkv0A8aI42Y1yMmMOhTOmWmlDI4EiOR509fckqQFXBghe0MMy/F2T88ZX ptbg== 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=9elBhRYRohBJLYXGAbC8/QtueNh7yhzWwdc2SlWJcOU=; b=p7leo4JIcSxVhTKdu8Rm/BddBjSVRHEyHVpE7fnlesTyn0wKTI6F7BHxEWFc/TL3zd b7ylIryiRvpeSxoSi/IDiip6rNn5TweM9oTutoI8nqUU4H+LRsr1kcYIPZSsJLx5fU2h xp/WcScG4jwu1wyA1tk6IRzT6CBguOesYPrAXH/+Mmlf+5+hfj41pcYAGac5zl5mzOXF 4Jgp84QTnIqLNeq+AS+BAaZpwVNRT1ug8HkCOnQ2Vzj49pkJM/VThLmqDn9tCrljg7aX NQ5qx76XEUFlyOozWn9G5XX65FsX4Xgbr2kiAFc3iohY/EmXZyoJkwwmxK/ZOW6V3MC6 wPMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vegh8wsi; 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 j18si3975546ejo.733.2021.06.10.20.03.08; Thu, 10 Jun 2021 20:03:32 -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=vegh8wsi; 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 S231284AbhFKDDC (ORCPT + 99 others); Thu, 10 Jun 2021 23:03:02 -0400 Received: from mail-ot1-f54.google.com ([209.85.210.54]:47012 "EHLO mail-ot1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231180AbhFKDDB (ORCPT ); Thu, 10 Jun 2021 23:03:01 -0400 Received: by mail-ot1-f54.google.com with SMTP id 66-20020a9d02c80000b02903615edf7c1aso1751097otl.13 for ; Thu, 10 Jun 2021 20:00:51 -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=9elBhRYRohBJLYXGAbC8/QtueNh7yhzWwdc2SlWJcOU=; b=vegh8wsiAC+x1bVv8y3kjhUeGWh9t2LfpIXlFUh1fR7KFxkonHV4/EpbnYFyNJG7A/ 2S3+EdWpeDLbwZLpyPxeVdyla/rZijDPnQIK69FHteGtdP3mQv43s391Q7DJX1aiOLac S1YTiMwgrKzdu5xgDfcYnkdKSwKxPq5UmWtUV2LnVwBnYbhKlOaJReXdtkFp/f3UVGGd LJHHoiWY08rqK+q1ymjI0WbynAP/P0fCynmb+h/S5hdQ0WiRCf5nvZwkZnsgzcRzTtXq TnS9tECmSNSatPkOpPoNWoWUyIXw0ft+6kJIHOE3Pyfr3QHrMJKkI6IBeFULSnJ7MxKY baIA== 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=9elBhRYRohBJLYXGAbC8/QtueNh7yhzWwdc2SlWJcOU=; b=Y4It+mP03xfZqXXMgp5jv78uk9fqxFemQGyxyfCEuCKgRQ3jaSGAM3nJp51Ndgbg5W WQDBfsFcyDKT9Pb4kCaxEUgYS68413RrpJi3nUPe5nLJssBZuCi6lodCEsftmQPC8V/r eIGfkj8+PMErLmVjwn7bnT+iF/0TXxFtocDBuTSqafkAO1DawYXlLKLPYkov1jFeBIc+ W+1rIGlpdyQI1klebpbfQWKzZZmpQ5oKog0ODUYVGwYB48NkqDQ59xuEAwJYaKPzWP8J Wm7AXClTenzeFkMPBvVL3P/OVGht4eMqcrhc1WNhyso3KzTMSZXh7CHAbugREqDiiAT1 Y5iQ== X-Gm-Message-State: AOAM530S2tGu6kIxybqoqd/Yo2uF4B/8p22gF1bN2p78peIeIuKISc9f 7tM1JZl2v2q5ulHmilrg/YxI1w== X-Received: by 2002:a9d:526:: with SMTP id 35mr1159467otw.176.1623380391091; Thu, 10 Jun 2021 19:59:51 -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 7sm991454oti.30.2021.06.10.19.59.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 19:59:50 -0700 (PDT) Date: Thu, 10 Jun 2021 21:59:48 -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 3/8] dt-bindings: arm: qcom: Add compatible for SA8155p-adp board Message-ID: References: <20210607113840.15435-1-bhupesh.sharma@linaro.org> <20210607113840.15435-4-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210607113840.15435-4-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 board is based on Qualcomm Snapdragon sm8150 > SoC. > > Add support for the same. The SA8155p is similar to SM8150 and we can reuse most things, but I think we can afford to add qcom,sa8155p in the DT bindings. > > 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 > --- > Documentation/devicetree/bindings/arm/qcom.yaml | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml > index 9b27e991bddc..b5897f1f9695 100644 > --- a/Documentation/devicetree/bindings/arm/qcom.yaml > +++ b/Documentation/devicetree/bindings/arm/qcom.yaml > @@ -42,11 +42,13 @@ description: | > sdm660 > sdm845 > sdx55 > + sm8150 Naturally sm8150 should be part of this list, but please also add sa8155p as well. > sm8250 > sm8350 > > The 'board' element must be one of the following strings: > > + adp > cdp > cp01-c1 > dragonboard > @@ -198,6 +200,12 @@ properties: > - qcom,ipq6018-cp01-c1 > - const: qcom,ipq6018 > > + - items: > + - enum: > + - qcom,sa8155p-adp > + - qcom,sm8150-mtp > + - const: qcom,sm8150 And please split this in two (one qcom,sm8150-mtp and qcom,sm8150, and one qcom,sa8155p-adp and qcom,sa8155p). And note that this is saying that your compatible needs to be one of the enum entries, followed by the const, but in your dts you only specified qcom,sa8155p-adp. It needs to be: compatible = "qcom,sa8155p-adp", "qcom,sa8155p"; Thanks, Bjorn > + > - items: > - enum: > - qcom,qrb5165-rb5 > -- > 2.31.1 >