From patchwork Fri Apr 7 18:45:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80955 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp473129vqo; Fri, 7 Apr 2023 11:58:09 -0700 (PDT) X-Google-Smtp-Source: AKy350bjLgGK/IKM3czGcvR76pUZ3SuaqXl71kwZ62wug4vn6DmQTvGVaqDyF6GvEcKAq96CqeeP X-Received: by 2002:a05:6a20:1207:b0:da:368e:7c73 with SMTP id v7-20020a056a20120700b000da368e7c73mr2992026pzf.37.1680893889279; Fri, 07 Apr 2023 11:58:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680893889; cv=none; d=google.com; s=arc-20160816; b=OlQZVLVGDBQvIAof4kEg5kHf31RhQRGeMFi8+57TjYAoliwtjuK1xVgKmxW3LpnJ/Y Q/j+aRrn784int9IXcWYXKs635pwKx+rkKEjV3fWrQIM1K2NSH4qI1ixssBVAvnuV//j bVcuM8FX0LF+iRFZ0WBHorKmVjr1sq0YJ5CK5HhSncLJHiqlymrFgN4xnxdYd1jThvbt GhkPEB9frvICKJo6Gnl+uu+R9duqj9l9ZwOAX3W5NTW4YO8aJZmxEIs/mbJDxPbN5LGp BPppk+mbU1u012itRRvANXTL4DO9Eej667yUuOrgs+96c50H0H5gaS4/+nj3D/Og4l0G UScQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=h5js7OGMr6iymghCvFe2YabhgDDdMXrFFJdgGamY1pQ=; b=DEyFRnx0L/fbFszhbsPkyX3gUeVISa2WSDv4/C3ICKJ65hrNEABgTpji+XGzBfj2Vm cjYQrMgsVjQ4SqMTuXGCLlgz9kRd6Uebf9Yo9plvBEUGAu5B8cQOXlak0nnseKy0qJdi a76ylkuyPGU7sGtbe9kq+0daoLAVRUHyAAPmBqEbixsKOO0wVBELsAZiAYF+/yIkjdZw 1yXFY3/IQPFRjhXITOGf1e7nH2aUEXNv0tvFly5by4eqm7wKWlwFcahWwBYTDPI8GSxN 5H3qbcqhQ7+LwkBJRpIh45jCiIRIhr4WW4hDqVdsYmt38/brAGfyCaWvRReq/FMx1tLK rqQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x12-20020aa79acc000000b006265c3b7053si4269672pfp.200.2023.04.07.11.57.57; Fri, 07 Apr 2023 11:58:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233370AbjDGSvy (ORCPT + 99 others); Fri, 7 Apr 2023 14:51:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233069AbjDGSvf (ORCPT ); Fri, 7 Apr 2023 14:51:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D73AFD508; Fri, 7 Apr 2023 11:49:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3F22964804; Fri, 7 Apr 2023 18:49:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7576C4339B; Fri, 7 Apr 2023 18:48:54 +0000 (UTC) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Linus Walleij , Rob Herring , Krzysztof Kozlowski , Stephan Gerhold , Shawn Guo , Melody Olvera , Bartosz Golaszewski , Richard Acayan , Vinod Koul , krishna Lanka , Iskren Chernev , Martin Botka , Danila Tikhonov , Abel Vesa , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 36/40] dt-bindings: pinctrl: qcom,sm8150: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:42 +0200 Message-Id: <20230407184546.161168-36-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230407184546.161168-1-krzysztof.kozlowski@linaro.org> References: <20230407184546.161168-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762544991062991242?= X-GMAIL-MSGID: =?utf-8?q?1762544991062991242?= All Qualcomm SoC Top Level Mode Multiplexer pin controllers have similar capabilities regarding pin properties, thus we can just accept entire set provided by qcom,tlmm-common.yaml schema. Signed-off-by: Krzysztof Kozlowski --- .../bindings/pinctrl/qcom,sm8150-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml index 4376a9bd4d70..c5ffbea95957 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sm8150-pinctrl.yaml @@ -60,6 +60,7 @@ $defs: Pinctrl node's client devices use subnodes for desired pin configuration. Client device subnodes use below standard properties. $ref: qcom,tlmm-common.yaml#/$defs/qcom-tlmm-state + unevaluatedProperties: false properties: pins: @@ -101,19 +102,9 @@ $defs: usb_phy, vfr_1, vsense_trigger, wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1, wmss_reset ] - bias-pull-down: true - bias-pull-up: true - bias-disable: true - drive-strength: true - input-enable: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - allOf: - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#