Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp2981676pxm; Mon, 28 Feb 2022 09:40:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJySlS+WQ93Z4xDHE0lzKkd4mPULa/ivH7XqGR8ZKGRvJOpAJQCkacrm8NUWMCCFltfCjVUQ X-Received: by 2002:a17:906:d968:b0:6d0:fc05:bdc3 with SMTP id rp8-20020a170906d96800b006d0fc05bdc3mr15387918ejb.719.1646070044320; Mon, 28 Feb 2022 09:40:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646070044; cv=none; d=google.com; s=arc-20160816; b=LQlJGr4+2PxATUqo9Bo1NzOrozryPPM6PJ/4sTmBHmSslpxC6cfth3J97+FjZ6bHQR 5nM+j5+5syYknH3Mpboig8+MrA4CuBm4TavH+bWZkgjqRdZD8V5y/0tm+YVhyWJifjJt owcDnpnJ0ZMEuU4tp8ANr9mXAt7x+6mMXDTq4GjSgyZTLO2lR5SXokkxnPHBHa1LshzG EKO6uFQgwu65PPD3lRDsjp/Oh24nlGmTEfsSo1V8u4sKjB6uBVL1TckFXPd93PddkloI 6GFF5snIxal0GmDcTM4Zjj6n9gN6PZSiv4UnRXV09eLc2cwVPjdl+0YWK9a+1I7BVHf8 BtTQ== 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=c33H+KhNRIM+MtgBKw1JzAencmoLfjnJxvjWbztOR4M=; b=XipIaG3+Ge1MhisnbgT943iy0QuINH98ZtAAZIgKjY2MEnl5vABQAywD59nthseC8f 23F5r8U6wDV80sOdxFGlU+ckP52i8bBL+UE4BeIqT2fbwtOXNMbO7a4/McQVbUzuRtbR BQA5LfLomnv/1EUxgdRsvnZs0YmK+YVkLKmxDlKB96+ATlFhxw9T/pMMFlqC8lIQ48hK QiavdjHlooh+p1rGUauKU/VAauaU1tjfNvXCMRsS2MtDTomSWEiRZvPFtlsE8hZcMfQT GJztQVe5sdshZW1nVkw6UTPMLNjDOhLn78ylDusvwN9Bs+PdGXbpbgwMtbZji3kIvBXE dqPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nfY3uJRM; 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 c17-20020a170906925100b006d6df148965si443453ejx.521.2022.02.28.09.40.22; Mon, 28 Feb 2022 09:40:44 -0800 (PST) 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=nfY3uJRM; 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 S236432AbiB1MbR (ORCPT + 99 others); Mon, 28 Feb 2022 07:31:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236411AbiB1MbP (ORCPT ); Mon, 28 Feb 2022 07:31:15 -0500 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CB0874DDF for ; Mon, 28 Feb 2022 04:30:36 -0800 (PST) Received: by mail-pg1-x52d.google.com with SMTP id o23so11214845pgk.13 for ; Mon, 28 Feb 2022 04:30:36 -0800 (PST) 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=c33H+KhNRIM+MtgBKw1JzAencmoLfjnJxvjWbztOR4M=; b=nfY3uJRMInYtmcvYlqJiBa0oJZDzwXCW6rYKPRYJnf0y8YQHjn9slKGL0E7jnluWVq 9L5aYVt61ohxbKB+5MIfQCYbpEIaVZj2rQbiMWwMZVNGOWh+MBMiF8SEDOTg0DMF7FLN 8orujb0d4ioXcVd/tyAdV6N6w4r9eAIXnBW0ET8nptJ3IACdD9/wXZEVHpnoEorjJm0k GRIGM2hXdETWo0580iEvja+ifU5779QIJUIQTvQE9H8CLvsHRVJoNg7OaDsMgIJbTMW8 26XgbOPnnE9qeNErnw8+mljIxj6m2cmQextFEU9Ru4HBPCcaX0RBpSvprbKe/ocHunJv KZQw== 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=c33H+KhNRIM+MtgBKw1JzAencmoLfjnJxvjWbztOR4M=; b=UR9jOuYfYbtHN8p87A2yj9fhaihcsLJ4F3pEyTtv/MdN2xWLECJaxLhH4NKzdm7rJc tzuAV9/7GBp4dyQsC7z8+pbsq31iSvkFylShiGF3zlqIMRvM3zMpiylBrXBoxJtR4F6n VPRRQVG49eczJcYIOci0w2uiqUmA244r6JrH1jy+xral1ahqcriGzVScDqjcdkxd91SV 9x/qlKoJN+Jl0eTN7+N1o677yr3eFo52g+jRpz7OjpFfMNoHBHZHuUOVlwEU7g+VRxuI kPyQ6ph1HT8C1z0g00HZw1KqvnRKjB+YVUYQKWcV2FMPUyvyA/ePyBCJ6+p+OcBErIwP LVrg== X-Gm-Message-State: AOAM532ZXgVBSgEDF+wyMmGHkiJRZSPQf38gv89N8xvQr4P8KYrmBbeC qaoYqk24O0st84yHo5wNezd2Lg== X-Received: by 2002:a05:6a00:130e:b0:4cc:3c7d:4dec with SMTP id j14-20020a056a00130e00b004cc3c7d4decmr21491088pfu.32.1646051436042; Mon, 28 Feb 2022 04:30:36 -0800 (PST) Received: from localhost.localdomain ([223.179.136.225]) by smtp.gmail.com with ESMTPSA id f7-20020a056a0022c700b004f0e9d686dcsm13790001pfj.137.2022.02.28.04.30.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 04:30:35 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, agross@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, shawn.guo@linaro.org, vkoul@kernel.org, linux-phy@lists.infradead.org, robh+dt@kernel.org, Bjorn Andersson Subject: [PATCH v2 1/8] dt-bindings: phy: qcom,qmp: Mark '#clock-cells' as a 'optional' property Date: Mon, 28 Feb 2022 18:00:12 +0530 Message-Id: <20220228123019.382037-2-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220228123019.382037-1-bhupesh.sharma@linaro.org> References: <20220228123019.382037-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=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 Since '#clock-cells' is not a required property for qmp-phy(s) (atleast in the '/' node, but is used in 'phy@' subnode), so mark it as an optional property instead. This fixes the following 'make dtbs_check' warning(s): sm8350-microsoft-surface-duo2.dt.yaml: phy@1d87000: '#clock-cells' is a required property Also, make the dt-bindings confirm to changes already made via commit 82d61e19fccb ("arm64: dts: qcom: msm8996: Move '#clock-cells' to QMP PHY child node"), by moving '#clock-cells' property from the '/' node to the 'phy@' subnode. 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 e417cd667997..48cd6b6171a1 100644 --- a/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml +++ b/Documentation/devicetree/bindings/phy/qcom,qmp-phy.yaml @@ -63,9 +63,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 ] @@ -109,11 +106,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 @@ -461,7 +460,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