From patchwork Fri Apr 7 18:45:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 80990 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp480451vqo; Fri, 7 Apr 2023 12:12:01 -0700 (PDT) X-Google-Smtp-Source: AKy350a3KxloeSpaMsY2CHdmzRYh26FTHpe4G2vHYiniewF2bDTNsNc27FrH+CK6VXmFSWALqRPP X-Received: by 2002:a17:90b:4a84:b0:23f:41f5:b887 with SMTP id lp4-20020a17090b4a8400b0023f41f5b887mr3721499pjb.13.1680894721124; Fri, 07 Apr 2023 12:12:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680894721; cv=none; d=google.com; s=arc-20160816; b=yrayHT1dJotvlpgwzxlZDnDL1bi6Cw91cYGcju74hcdXc5DKjOS8J7UgSEXnD8yQnY VVgAYt7lBmz40gwlcVlKATRZtW82xwADUwut+pu7MchcD5+gDim099WqNXfE5czo4N7s +OM6kMQ21q5WjahZK56DKk1FnjHjkFS8a3Lb9ATVN9hsHrKKKq93bzExAV/7MHa9fw4E siguFhhsU2UR2VLvFaREi9BVAO5UORqIwya1/YUvWktuD7y/FT3VJ4WfFP6CeYmMIGA9 1JgGJgVaobdOoCp34NoSdsdi41qCQnW0mQ45JlAxWRc8WykR4rFjgRWeQ+oF3p/3lA07 NUMw== 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=sl6nXVKEriXd9h4jJrT8E/TZaZnCG/ewYn4jRefKtdU=; b=JDDTIzMpWGAw7FLQCf2LSqer65XRxHimkh94bbLPbfEbmol00wqagvGrSkcs30u/XA g36rY3HQcgc0wHItQ2aUgdbtGQ72f5H5qw+4yc9xt7zw3NShATvsdWNJBmjoQdVPSuIQ WI6MtABzblbzsxMBlpR6gNLaC3OEd7EhnonXxsF7Woz18A6itQEcc7LEK96GtqI2O8Y5 Ofs9mmtLOMYbCv7HKjARy8Z/kLm5s1Ri21+0cC6lTMvG/EppdgkGpDrC9Q10ig1Fcyed XVDKzt2pZValKEEZz0dhhL2DWSp1VWuuOygpyRHtWtJx+exXMDz4xIjUJPkXHPdaYBHk TuPQ== 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 kb8-20020a17090ae7c800b0023699c44b66si4344848pjb.167.2023.04.07.12.11.43; Fri, 07 Apr 2023 12:12:01 -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 S230463AbjDGS43 (ORCPT + 99 others); Fri, 7 Apr 2023 14:56:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230347AbjDGS4M (ORCPT ); Fri, 7 Apr 2023 14:56:12 -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 749861BD1; Fri, 7 Apr 2023 11:54:15 -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 2EB9564753; Fri, 7 Apr 2023 18:48:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16A3FC433A1; Fri, 7 Apr 2023 18:48:17 +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 29/40] dt-bindings: pinctrl: qcom,sdx55: simplify with unevaluatedProperties Date: Fri, 7 Apr 2023 20:45:35 +0200 Message-Id: <20230407184546.161168-29-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?1762545863235229483?= X-GMAIL-MSGID: =?utf-8?q?1762545863235229483?= 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,sdx55-pinctrl.yaml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml index a40175258495..67af99dd8f14 100644 --- a/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/qcom,sdx55-pinctrl.yaml @@ -48,6 +48,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: @@ -91,18 +92,9 @@ $defs: uim1_present, uim1_reset, uim2_clk, uim2_data, uim2_present, uim2_reset, usb2phy_ac, vsense_trigger ] - bias-pull-down: true - bias-pull-up: true - bias-disable: true - drive-strength: true - output-high: true - output-low: true - required: - pins - additionalProperties: false - allOf: - $ref: /schemas/pinctrl/qcom,tlmm-common.yaml#