Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3749167pxb; Tue, 19 Apr 2022 09:05:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylvuOhvnFQwaX7If7dYrRPjfBvd2ZBD7Tt1bPtiNsmMThd5Xlc8KmvuM26CgrVWs8oyF0B X-Received: by 2002:a17:906:3707:b0:6e8:6bfe:da0e with SMTP id d7-20020a170906370700b006e86bfeda0emr14520696ejc.78.1650384302626; Tue, 19 Apr 2022 09:05:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650384302; cv=none; d=google.com; s=arc-20160816; b=bowoSWUf/eUZuUqMFHD8ZRiFLHFfvuqb66V+LjaDrbGhdrRYYexbxIQK3+fsKMY8mL lKtq4HfMzHL2tqH2kx0j2fuUtxhwQOCBEx9GxJKNl4doiMLOvLW52DCq6QpEvGQKQS2N 8ma3IiH1hLVcaAFpZvH8KKWqjzs4XAv6lJfhmF0Ax1gVS2ivGNZWpcEEvnNLTGcdqVIk Bjze1BfedONSuzlGt2Ka92RN3mlAp9DKHUkvjgDDP5GSgXwb1p/ojvcqTarIRigf8pdB CMt+jaojtsfRfMjdF5x+z1rNhbTQf/CLeN2t+1zCOhb8CTco6xKB/K3oUtkSe3GN00Sv xy7w== 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 :dkim-signature; bh=JoIn1027OXzmCOA2cCIKja8ksqjeKwGtO2KGzYKS9Ks=; b=O8Mli1VpOV+XpfgPNsPwpeT42TxSb8J7KwqNPHLjpcP8jNwNJXtLJbAx1jOsPvES9n CKE9Y6jKAbOjCClQjHp6l3d72QQVBVhjvKvn1tqGInK7aSCKgp2NMMNGHgSXSECeO7Cr MR57vOISHZUyFUNqYgTQlijV2Zeos43d3kVKrNO8bj3PIItzFZOhuHwo33ammCGNFLFZ odaG+njviebrPmIbv+oquZTMB4ob6JkyUmzZCkTRieAls23Oh/nC5boeqqZkmupDmzVE BZ1rPJ0q4CmoRbYYCHovLwr9LPS57omhmYsgUwIfX8Gnl/ZQuMfyyhfRhNxKTGIH55Gr Jt1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sFoUtady; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd6-20020a170906ce2600b006e7ecc07e81si8509129ejb.368.2022.04.19.09.04.37; Tue, 19 Apr 2022 09:05:02 -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; dkim=pass header.i=@linaro.org header.s=google header.b=sFoUtady; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347844AbiDRU6H (ORCPT + 99 others); Mon, 18 Apr 2022 16:58:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240296AbiDRU6E (ORCPT ); Mon, 18 Apr 2022 16:58:04 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C3B8BDB for ; Mon, 18 Apr 2022 13:55:24 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id o5-20020a17090ad20500b001ca8a1dc47aso380904pju.1 for ; Mon, 18 Apr 2022 13:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JoIn1027OXzmCOA2cCIKja8ksqjeKwGtO2KGzYKS9Ks=; b=sFoUtadypX7gqBjas8UAvAivDUUHJ3TkJ/7D7V3FS7IidpuxNkl4+GnnY+T3HKSvCp 9IBVuxpeTza06vtoznlZWV7zu5d+yj7uueGiZdOoFqdSlDxPYA/bFH9Pw8h7KUuDPeHa BYnA+pPQbi7Xqwa1r/WvifijgtO7RkTqck03FcrEdONmeCkB4AIB/QKT16U2v9BdumXa +XhSrs7Q5rQRNldzVYtpTeGhW+VZrnXhk/QgYIq2g29edpPA+xS68aULSj8Htqlfrdkh i6azEtVU1NyL6F9XcKbHAMoqhKZqHQCTwAVVDg7tPY9pTq3J71uhUkfIPRJpaY14Jc0O o6cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JoIn1027OXzmCOA2cCIKja8ksqjeKwGtO2KGzYKS9Ks=; b=aTm+OpkpXK4s+d2kxUfg433Mr8c9O/9bc4yFJOD57m7drW/8X4NCvXUoNQ/Ex1K6WO hN6QotUOQj1eiZb/KBZElv8fmfDFxjpsOl+3LcohK3xBt9Z5LkIxr6SJlMwRIYvw+byh DvoQj3JCAJo79+zhQJq/38svdYJLnAz3hngxmAbibykauN1/BopoMRvMWpvIU43rOjCM MURjGJjtlZjijOs8oZeI4aQ5ymXc7DPEHcqPo/PtQ/tImmx9v6P8aP5G4c47LarZcTYh PkDko9fnx+UU1XKUJyO8ry9qs7fYlaDHVs/adJmJ9Ab1aJNkxGaIgK912cT23/GWJJF1 31SQ== X-Gm-Message-State: AOAM531ukA1pJK0A7dKKhxJ6FVxqxZ466GC3Z2X2//NCaGDX00m45iXC XSbpSJJ2xh/mFd/avceF4ZflqA== X-Received: by 2002:a17:90b:1b52:b0:1d2:8d55:ad6d with SMTP id nv18-20020a17090b1b5200b001d28d55ad6dmr8382779pjb.223.1650315323758; Mon, 18 Apr 2022 13:55:23 -0700 (PDT) Received: from localhost.localdomain ([223.233.64.97]) by smtp.gmail.com with ESMTPSA id q60-20020a17090a17c200b001cd567fecaesm13498859pja.26.2022.04.18.13.55.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 13:55:23 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, vkoul@kernel.org, bjorn.andersson@linaro.org Subject: [PATCH v3 1/4] dt-bindings: phy: qcom,qmp: Mark '#clock-cells' as a 'optional' property Date: Tue, 19 Apr 2022 02:25:06 +0530 Message-Id: <20220418205509.1102109-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220418205509.1102109-1-bhupesh.sharma@linaro.org> References: <20220418205509.1102109-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 '#clock-cells' is not a required property for qmp-phy(s) in the '/' node, but it should be is used in 'phy@' subnode (where it is actually a 'required' property). Fix the same. This also fixes the following 'make dtbs_check' warning(s): sm8350-microsoft-surface-duo2.dt.yaml: phy@1d87000: '#clock-cells' is a required property Cc: Bjorn Andersson Cc: Vinod Koul Cc: Rob Herring Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml index 8b850c5ab116..c39ead81ecd7 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml @@ -66,9 +66,6 @@ properties: - description: Address and length of PHY's common serdes block. - description: Address and length of PHY's DP_COM control block. - "#clock-cells": - enum: [ 1, 2 ] - "#address-cells": enum: [ 1, 2 ] @@ -112,11 +109,13 @@ patternProperties: description: Each device node of QMP phy is required to have as many child nodes as the number of lanes the PHY has. + properties: + "#clock-cells": + enum: [ 0, 1, 2 ] required: - compatible - reg - - "#clock-cells" - "#address-cells" - "#size-cells" - ranges @@ -468,7 +467,6 @@ examples: usb_2_qmpphy: phy-wrapper@88eb000 { compatible = "qcom,sdm845-qmp-usb3-uni-phy"; reg = <0x088eb000 0x18c>; - #clock-cells = <1>; #address-cells = <1>; #size-cells = <1>; ranges = <0x0 0x088eb000 0x2000>; -- 2.35.1