From patchwork Fri Apr 7 18:45:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80963 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp474531vqo; Fri, 7 Apr 2023 12:01:05 -0700 (PDT) X-Google-Smtp-Source: AKy350aowGoxE1HXgUz5Ehbgox7NKi9zdTbVrTJRskOM91BPuydWZagyUTyxKZDzvTqxiGIfhrEI X-Received: by 2002:a17:90a:1a0b:b0:233:ee67:8eb3 with SMTP id 11-20020a17090a1a0b00b00233ee678eb3mr3475441pjk.24.1680894065045; Fri, 07 Apr 2023 12:01:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894065; cv=none; d=google.com; s=arc-20160816; b=ON3QuJr/wblQa3iYQz8HNMtRAWB/tE5POpYGVga+wrf8r3iZKV9kO/2dKMvjbUOr/W wXF12dbcd1/7bOuEb7Ql8vy+x/eXvIniClXbwXcxP/cWMT8cD0Q2KFs9C9xmntMpDFvC U1i1CPnzg23siDkzRUXFlWg0PGQj2ksNS74a1FfAJx+EBgiWAKWJiX2fuIUIeMP2gckx M+6RUazf8+wDeAjU5CzrdvcsqywAgFQfBYWGbT0+TgRq8T7ZSf5lyc1g+As0CAm1Ahh2 +2KnSQd8ELlpH1PmsWMLfyM9IjOdn+rf0yD00VMTtIUEDFSuyhEscOIZ9LN7FF29ljrJ 66iw== 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=AsA0tmUzoUb+BJUV9Z+jvssHfMa1wbvYWmWh/RyOZuw=; b=iYVax22iX/PHKhTUhAKKQXzI2FfMMJtFoCp7ZgajqE1liIyafQ2eCfkgF8Eg1r5wtK f+I8QWvzWzlV2gXJaCtWv+Js+WKFo3G/GutAPCKnz7VnP0UDxc6tJDrErm1eIKfMUbtp WyN94+JyApsIdGACoqi9eTIXOjSb1O7Zt86tMAx+Rpie5pQQs6he5JWzwwDdFa9os8YR rEN6rX8yPlLodR6E4ELK7zWxFl6dizKt0AzgKB6h7SDykZYnEsU1Xk6LP0Hjw0Fzvjuj 8bfcx/QwaFUQ0wZ3kDhRXzM5oTk0Kv1Vj5FKI8/FXjkQdqJge8hqyf8AWNaQMNTKoqGf HA9A== 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 a10-20020a17090a70ca00b00233ebd4c537si4084836pjm.22.2023.04.07.12.00.52; Fri, 07 Apr 2023 12:01:05 -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 S232122AbjDGSs0 (ORCPT + 99 others); Fri, 7 Apr 2023 14:48:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232467AbjDGSr7 (ORCPT ); Fri, 7 Apr 2023 14:47:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07F13CC3E; Fri, 7 Apr 2023 11:47:31 -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 D25A565322; Fri, 7 Apr 2023 18:47:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6FF2DC433A1; Fri, 7 Apr 2023 18:47:25 +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 19/40] dt-bindings: pinctrl: qcom,qcs404: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:25 +0200 Message-Id: <20230407184546.161168-19-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=-2.0 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,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?1762545175023610239?= X-GMAIL-MSGID: =?utf-8?q?1762545175023610239?= 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,qcs404-pinctrl.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl.yaml index 20bc967a17b5..b1b9cd319e50 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,qcs404-pinctrl.yaml @@ -59,6 +59,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: @@ -119,19 +120,9 @@ $defs: spdifrx_opt, spi_lcd, spkr_dac0, wlan1_adc0, wlan1_adc1, wlan2_adc0, wlan2_adc1, wsa_en ] - 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#