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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C2E5C6FD19 for ; Wed, 8 Mar 2023 21:23:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229742AbjCHVX4 (ORCPT ); Wed, 8 Mar 2023 16:23:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229646AbjCHVXy (ORCPT ); Wed, 8 Mar 2023 16:23:54 -0500 Received: from sender4-op-o10.zoho.com (sender4-op-o10.zoho.com [136.143.188.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5BB894F61 for ; Wed, 8 Mar 2023 13:23:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678310583; cv=none; d=zohomail.com; s=zohoarc; b=e4ajlNbGQNsC3O1B1WPmQsT6/2dnUqMg5MPbTYH0m9CHHnYPoqQIbvSGaxdvE+wRvDQU4ahiJWltyzBws/pQzwIDuZgN1e9rBV8Q4gCBDkarCD3fribvo7MfQqyPUf4PymjRCQEnDEe8tqgTzdPnPHgGQfZEd9MDWy5iM3Vp+8c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1678310583; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=MVXS8KDoDhOM/NALqKC+cp6/ciQN+TQg0DQlrMhKv8E=; b=YjEYjwd2GCNGsGMgbn7Hzii58PHYaiC4egDNq0Iar9fXyZAcBi0sb3JtRjJzqUJFQBozt1fi26xBeX3AhOGpoPuYZhcRJCB8vzSD3+2nZwFlpnlBEo3XnG+3/qvDoz3eegTnVAwvIseCNKKSMS+yO5uUSKAir2kI/mb11TmHWkA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1678310583; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=MVXS8KDoDhOM/NALqKC+cp6/ciQN+TQg0DQlrMhKv8E=; b=DeJOdnvKTnhzen1ZAfJv3wlrsqe9/C8dx6jV1G19Prur97d5hd8xayoL8hVL7+cl 5f9BWGKhOxLrosINyDRYR5Ifr2rHJuPltENN9Gquqs/iaQFV4fX5ROqCyDzQOxytJqi HbKjXd+nMavGY8C+pp1adfHx1IjtoA+/43ifLShM= Received: from [10.10.10.3] (212.68.60.226 [212.68.60.226]) by mx.zohomail.com with SMTPS id 1678310581456117.44812708718553; Wed, 8 Mar 2023 13:23:01 -0800 (PST) Message-ID: <27dcf711-859e-6d21-f46f-3169bc1d4568@arinc9.com> Date: Thu, 9 Mar 2023 00:22:55 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH 17/20] dt-bindings: pinctrl: mediatek: mt7986: fix patternProperties regex Content-Language: en-US To: Rob Herring Cc: Linus Walleij , Krzysztof Kozlowski , linux-mediatek@lists.infradead.org, linux-mips@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sergio Paracuellos , Matthias Brugger , Sean Wang , William Dean , Daniel Golle , Daniel Santos , Luiz Angelo Daros de Luca , Frank Wunderlich , Landen Chao , DENG Qingfang , Sean Wang , erkin.bozoglu@xeront.com References: <20230303002850.51858-1-arinc.unal@arinc9.com> <20230303002850.51858-18-arinc.unal@arinc9.com> <20230308211511.GA3850618-robh@kernel.org> From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: <20230308211511.GA3850618-robh@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9.03.2023 00:15, Rob Herring wrote: > On Fri, Mar 03, 2023 at 03:28:46AM +0300, arinc9.unal@gmail.com wrote: >> From: Arınç ÜNAL >> >> Set second level patternProperties to '^.*mux.*$' and '^.*conf.*$' on >> mediatek,mt7986-pinctrl.yaml. >> >> Signed-off-by: Arınç ÜNAL >> --- >> .../devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml >> index 46b7228920ed..e937881210c5 100644 >> --- a/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml >> +++ b/Documentation/devicetree/bindings/pinctrl/mediatek,mt7986-pinctrl.yaml >> @@ -72,7 +72,7 @@ patternProperties: >> additionalProperties: false >> >> patternProperties: >> - '.*mux.*': >> + '^.*mux.*$': > > These are equivalent (so is just 'mux', but that's ambiguous). Why are > we changing them? Ideally, we'd only have a wildcard on one end. I've seen your review on Daniel's patch for adding mt7981 pinctrl schema so I wanted other schemas to be on par with your review. https://lore.kernel.org/linux-mediatek/20230123225943.GA2781371-robh@kernel.org/ Arınç