Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1383254ybk; Thu, 14 May 2020 07:41:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1ItmH2PDWBFQ6gsSp9VZcuV+UhYF0V+PPIgxz8HE1zJt+l09bnKd+mD+zP109rM/uRRP2 X-Received: by 2002:a17:906:5608:: with SMTP id f8mr4341157ejq.190.1589467299822; Thu, 14 May 2020 07:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589467299; cv=none; d=google.com; s=arc-20160816; b=Uv1+2zM0ecp4PkI22rmHRyutsekjhPN5wnAxMAwOpTnmY6nUyeZwGAuegNiRXjSwpY 5dhPuPmnJ5jIWZLLmeoVQmonUtu6CSqpchPFosucCVRRarimroKG6YhG3UTAG8ScW+UJ UBV4cfZ3oaElP12s87RnghJPvnhnpMLTRp9KuMunPASFc9EENWf88yhwfHLsTv8W51bq euGhBSV6wYFQtW/M9P5CaDUuf+oi1pjyazGZ2xxGFDBdHhq6/GJcsIfxx33RVct2jMta 7/5hMizNFpDXkDvKSbz5bbXbB5D7FteBCD3WlnuhJ/OC83VZOT1MUozjjmPZ+XOMEGEA 8v9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=myAfLnmBUwxOXrWpGmgAhuCrYyR/+Qq8ha9lCmTxobQ=; b=Lb8U8W8J4RBP+az7T2+Abb0KbmcCUKTOUqyhGUaUrZffC07hO0QVF85mfpmiMcmbHy XhmzdEgGvSVfK+5QhxQBp+cC7117lTC2w8YIRd6XtrjaaF7Q9G5wTioIqIIerKfDeZ2X +ZWNqKluRixN2DQ8inELvhdUXqGPyyazzBf8Jcqvjc+ED9j6whVBS2FL/9jRqwv1bC5c GG0P1zXm+TXU7FJFoc5JeAi2S8V7Zs4LT7e3s9THMZx9ykJUUViABHzgsbNghxiNtwe3 vzri+bZRvbr+HMyXjMnEtHjBFupq1J/ANMCuHCnAYu7YYqbltuwbVd6UWXyBNUKZupXy wt2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VVJT+tRd; 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 i19si2100422ejy.14.2020.05.14.07.41.16; Thu, 14 May 2020 07:41:39 -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=VVJT+tRd; 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 S1727929AbgENOhs (ORCPT + 99 others); Thu, 14 May 2020 10:37:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726322AbgENOhs (ORCPT ); Thu, 14 May 2020 10:37:48 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 06F45C05BD43 for ; Thu, 14 May 2020 07:37:47 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id w65so1378099pfc.12 for ; Thu, 14 May 2020 07:37:47 -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=myAfLnmBUwxOXrWpGmgAhuCrYyR/+Qq8ha9lCmTxobQ=; b=VVJT+tRdvrHedNG3fWcxgTVWuPw1kNXTpW31v+Zdv+sQr+6lTcPgup5zkVZ9D7YNKG sGXHX1XE/Ca+gIB8IBrlzNwi+Mko1SqNSHfodsk12A9YwLOnksgHlalr0gCQE/McA0Pm MLAhafXzPZTcbuXIWkQRsIsTGeXX5vm6ujwTR3aC8vCv3cRiHZ6rRaDEpSJg9tFoEfF/ V480eHYm2hDmTpSj79PvM3VpG475Nlp4IP0mA+qnTjcS4VVyqWyvuEq61oyht9AWrW+Y AqfNHZq/nAxOgWvR6YMkZL/BZA9CPzIAxtn6q6gOA4Lp2yJKaYIIgAXLrl9BjABi37/L uYkg== 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=myAfLnmBUwxOXrWpGmgAhuCrYyR/+Qq8ha9lCmTxobQ=; b=Jlo3iA/aFOqLx7C2LJYUmbCFGqDc8h5ycFwk8OLSTR7nmfbRi5dE9Va4xuPI7oCQjy sSWv/xywNHHOLLPh5eNJKYCWodvSKxoqWJ1pWGLnDAQy1tv9VkoPJwF/CSXRh4n6+jCn 7Ih5SlVNG3qAspvyUBZSlK7HSw1CLcDBMclI/gTXCaN7X6+jM0CO/JG9ODX84xuFNk+0 l1Z+cjm1fKOXZgRpEqupqVz8DVO+ahv1SAaSekarWmNumc9N42/RPnoNIlLhjrBTk7us iFPXGJsEw/VJE3njZsaL/YiBrSHn5fBZGTqb1EHnthTCENbIxVGq/4nAVR53PpZ1NMSN r2Kg== X-Gm-Message-State: AOAM5325yilLQ2zOBTeoLlIgIP9z7++XHeCtE3AIzYO8ci14INfpzwmD AmHlU2bnrKt2rdrYImRrU4WUPw== X-Received: by 2002:a63:440e:: with SMTP id r14mr4398210pga.340.1589467066271; Thu, 14 May 2020 07:37:46 -0700 (PDT) Received: from builder.lan (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id h14sm18053136pjc.46.2020.05.14.07.37.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 May 2020 07:37:45 -0700 (PDT) Date: Thu, 14 May 2020 07:36:16 -0700 From: Bjorn Andersson To: Linus Walleij Cc: Rob Herring , "linux-kernel@vger.kernel.org" , MSM , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: Re: [PATCH 1/2] dt-bindings: pinctrl: qcom: Add sm8250 pinctrl bindings Message-ID: <20200514143616.GU2165@builder.lan> References: <20200417061907.1226490-1-bjorn.andersson@linaro.org> <20200417061907.1226490-2-bjorn.andersson@linaro.org> <20200429213453.GA32114@bogus> <20200514060422.GL1302550@yoga> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu 14 May 07:12 PDT 2020, Linus Walleij wrote: > On Thu, May 14, 2020 at 8:04 AM Bjorn Andersson > wrote: > > On Wed 29 Apr 14:34 PDT 2020, Rob Herring wrote: > > > On Thu, Apr 16, 2020 at 11:19:06PM -0700, Bjorn Andersson wrote: > > > > diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8250-pinctrl.yaml > > [..] > > > > +#PIN CONFIGURATION NODES > > > > +patternProperties: > > > > + '^.*$': > > > > + if: > > > > + type: object > > > > + then: > > > > > > Needs a $ref to the standard properties. > > > > > > Would be good to show a child node in the example too. (And try having > > > an error in a standard property type to verify you get an error). > > > > > > > Finally looked into this. > > Can you send an incremental patch because otherwise I have > to revert the patch that I merged (maybe to trigger happy, mea culpa). > I appreciate that you merged this already, so I'm happy to fix this incrementally. > (If it's too hard I can just revert it.) > Afaict there are two different $refs available with standard properties and adding either one works, but I don't understand how to add both. Also $ref'ing pincfg-node.yaml means that the binding suddenly accepts standard properties that the hardware doesn't support, so I would like to be able to reduce this list somehow... But I don't see anything preventing this from being done incrementally. Thanks, Bjorn