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 80ADEC54E76 for ; Tue, 17 Jan 2023 20:05:44 +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=o5/qyDR8qyN1bcQ/87C+1/EXVHOriUCEuzrCPMKgmII=; b=qt7yABUWOFBlQD 1ibmZpfIOtztSWpCv71GdOjOkoh9a7GqSzLnpk+W70JZc891mX3AsnkA/JYF1KytYaG0ZsqHPbFr1 7p/zfXuPpNSPSe2dNpw5l9jECPz4C7mnuog/5bBT6YLdOEazNxs9CLYmOQqL/7GQZmG22IpaDfNIK QY+Yo4v7IwkZn3TlU17D7pCshpatXqcC5A+UNWKqc/kO7jkjJXof9judvEGt5HzZJWVATR5RHtoi2 mVWSvZ4twsyTBPQU13gQA6aQhLggFChIiI1UXT56fYOh7b90BPdk93A3vHrxSyXPhRir3fZh006/4 oxaPa3WsCfJ1egnEBqGg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHsCL-00FiOo-5E; Tue, 17 Jan 2023 20:04:45 +0000 Received: from mail-oi1-f172.google.com ([209.85.167.172]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHsCH-00FiNT-FC for linux-arm-kernel@lists.infradead.org; Tue, 17 Jan 2023 20:04:42 +0000 Received: by mail-oi1-f172.google.com with SMTP id p133so11582228oig.8 for ; Tue, 17 Jan 2023 12:04:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=aL+np8smkP7FSXt9qO9bmY6grgj8WYKwJKgXRY8ZBcU=; b=m47Al8onYBLxYfo6R0E4X+vFYB7UN+/S4N9MgXzFQ5OUDMc/WZmKa9GDiQrtIBPU5t JdoovDyshyNN1beaB4Lg9lZq7iAjPvWHrjkN3Zy+zEGBi0kdfJBQrzrc6RX6+cGoh9TR OO9YaH21+Yma+PUV802gRBlM2whQRz27L5iDA6zs9LX8QzKypFNLWwXEhGdPlcrguXnt aVzVUf9vdjmW5xoUOqwoXZWZOY0J4IpvPEaSrfhFO1Hh4EzVPAQ8NxXqEc2ROAo52oIu 2d+qG5l2tyWcj3KPDdndkoleGCAZGKQ2ksyFctKyMDQAMw9JtejyQH2BkSC8AG9/DpgD S90A== X-Gm-Message-State: AFqh2koS3G4qY8KiD/Yt/M8NwYtLL3fpTflcs9bJhKYlkibueCK9Q0R0 2Zs4xPbiE6JinM3O9bnDEA== X-Google-Smtp-Source: AMrXdXvmzGoLs6M8Mi2uZIM7/ivg4qx44J6VbPcY9Vptlack77OOKL/RsfLrl5jEf5MiYZddcjILzg== X-Received: by 2002:aca:f1a:0:b0:36a:9706:665f with SMTP id 26-20020aca0f1a000000b0036a9706665fmr979417oip.10.1673985878974; Tue, 17 Jan 2023 12:04:38 -0800 (PST) Received: from robh_at_kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id r21-20020a9d7515000000b0068646611d0bsm1943619otk.44.2023.01.17.12.04.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Jan 2023 12:04:38 -0800 (PST) Received: (nullmailer pid 3546639 invoked by uid 1000); Tue, 17 Jan 2023 20:04:37 -0000 Date: Tue, 17 Jan 2023 14:04:37 -0600 From: Rob Herring To: Tony Lindgren Cc: Nishanth Menon , Linus Walleij , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, Vignesh Raghavendra Subject: Re: [PATCH v3 1/1] dt-bindings: pinctrl: Update pinctrl-single to use yaml Message-ID: <20230117200437.GA3538302-robh@kernel.org> References: <20230116071602.63788-1-tony@atomide.com> <167388667378.596858.12053272103098373981.robh@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230117_120441_529188_CBA949B5 X-CRM114-Status: GOOD ( 14.70 ) 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 On Mon, Jan 16, 2023 at 07:10:59PM +0200, Tony Lindgren wrote: > * Rob Herring [230116 16:39]: > > I imagine you don't want to go change all these node names, so I'd > > make the schema accept them. > > Heh yeah, I was wondering about that too :) Some can be handled with a > regex, but there are still a lot of completely custom names. If you have > some preferred solution in mind, please let me know. If just allowing 'pins' anywhere in the name is not enough, you can match on any other property with 'additionalProperties'. There's some examples in pinctrl bindings. additionalProperties: type: object properties: ... Or use 'unevaluatedProperties' if there's properties defined behind a $ref. There's also this hack, but I try to avoid it: patternProperties: '.*': if: type: object then: ... Rob _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel