From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 29F90C46467 for ; Mon, 16 Jan 2023 11:16:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=N7N/h3K9+GPhRJ9GbQAoJaauydD8IN+7bcnePTYfgBg=; b=JDqoo5BMXZ+Uoy KwJZJzuWnuvM5L0HRPPYvU3gmmZ/OpmQn5Bl27yMlMw2CMr+yERmH0Q78zqNZjoOyQTq5zfi6Zzwp aPYbfgTwzp/BAyIFfeMiadd0qqUuJ4D4V9DLcddSvs3ey4XSvyqyircKKJ9VDj5p8+Tr5Ur7BrNFG S/mQBE9gYR9tmVBH/rTY6RvaWsXFi/EG1cWvhW6nqphjPSm2X3O6lSZa3Rv+5KGk0cnMplrA4zj93 /9MA59O/cA5sT6zn3/13XBh4LFMxvHZKUObtuZ8ShtvPj7vmMpCAvaOFXAl3ra0uWplObvsvrZhkl ayslm5Y49ZL3RH31hQZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHNSa-009sT3-7d; Mon, 16 Jan 2023 11:15:28 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHNSX-009sSZ-Bh for linux-arm-kernel@lists.infradead.org; Mon, 16 Jan 2023 11:15:26 +0000 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 2E66C8108; Mon, 16 Jan 2023 11:15:21 +0000 (UTC) Date: Mon, 16 Jan 2023 13:15:19 +0200 From: Tony Lindgren To: Rob Herring Cc: Linus Walleij , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, Nishanth Menon , Vignesh Raghavendra , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH] dt-bindings: pinctrl: Update pinctrl-single to use yaml Message-ID: References: <20230112083152.10277-1-tony@atomide.com> <20230113202016.GA2833245-robh@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230113202016.GA2833245-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230116_031525_478581_8F8AEEF8 X-CRM114-Status: GOOD ( 10.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Rob, I ran into error "is not of type 'object'" with two dashes in the property name. * Rob Herring [230113 20:20]: > On Thu, Jan 12, 2023 at 10:31:50AM +0200, Tony Lindgren wrote: > > -- #pinctrl-single,gpio-range-cells : the number of parameters after phandle in > > - pinctrl-single,gpio-range property. > > - > > - range: gpio-range { > > - #pinctrl-single,gpio-range-cells = <3>; > > - }; > > You've lost describing this. Thanks for noticing. Adding something like below produces errors for the pinctrl-single,gpio-range property name: pinctrl-single,gpio-range: description: Optional list of pin base, nr pins & gpio function $ref: /schemas/types.yaml#/definitions/phandle-array items: - items: - description: phandle of a gpio-range node - description: pin base - description: number of pins - description: gpio function pinctrl-single,gpio-range = <&range 0 3 0>; The error is: pinctrl-single.example.dtb: pinmux@4a100040: pinctrl-single,gpio-range: [[1, 0, 3, 0]] is not of type 'object' Changing the property name second dash to something else makes it go away. This is with dtschema 2022.12. Any ideas? Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel