From patchwork Tue Apr 4 19:01:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13200893 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 61816C77B60 for ; Tue, 4 Apr 2023 19:01:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=tH1aV0PWUhAPfkClTcna4eq3uzk3+6XwNV2oUAxMM1o=; b=pvPAGIE5ABGUzc Aa/C7UhLz5LF7IgRNiGbp4NDQr1jN3s4e2XB2sRxSWOqNWRCcvuoalbM7wPmy/M0R4CKyk1RtWHqO nBMO6PoHpXZaM5kpF6cJMoWH0EjvUWpvPwFZkOvQwlMFH16OkMp5y1FBq5Eoi9d+Pxd+/Fj+q2CAx vSEPRkooeG7pFdZj3pYCcXpqha75ipGPyOJ695cTSxIShm1X08HhQSy1CDcNuffaOb+K53ObFqqd5 pKnhXe6ds3wUPGPkAs+eryjBUWXnjcxUx9UxlO6vW9h5nFMSXNAc1VP9YQe2USpfsjGVTZlp+BQx8 5Lk9OpdpAkP5t/3zqfQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pjluG-002Z0z-00; Tue, 04 Apr 2023 19:01:24 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pjluD-002YzH-0b for linux-phy@lists.infradead.org; Tue, 04 Apr 2023 19:01:22 +0000 Received: by mail-ed1-x52c.google.com with SMTP id t10so134515103edd.12 for ; Tue, 04 Apr 2023 12:01:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680634879; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=xdmeU1LWxBpvWwDDQiFchlMca3RtpapWdUf3ChV5Tv4=; b=Xm+aZzF4PoD6L8vXoGfT6+59/BgtaxEiUSF+MZRATCfE7PHQphjbbBA0pQJH6a+6UZ Lql9f8x3xRNBtKLk52YXwj7tIKSKZRqAc3j8XQozv+4a9FvhVRogi46E2HtZZFv/oO02 NmBv2ifbigXafZCbmZ5IAzRqWzCSE67/VgCoLtsjUIQHb+JgoBfPZG53JMlwB4s2KVHT 7R76U+ZpF98zpoTzZgSiEYF4KMsGY1vTxa8j7JkyIMVUZ0pbrcGuEUkm/xdhQ/2ATlmT cIbBAq7tw+ggBE9iM2fBaGF0sgwUftx1o5Ge35A8KBqxAveKdNtQMG5WjdwR2snCUY3E 7YUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680634879; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xdmeU1LWxBpvWwDDQiFchlMca3RtpapWdUf3ChV5Tv4=; b=W70TJzW7UDQCwrcCMKZN06k3ViFVyacXkjxxMB+vPkKrFAj3gr/NA3YcGrnN3eJ3wa AAEsd9xMAYqG98zPbvW/OC+gOOEGxJED0wESrNlIEa5w+JcgDPzo028wyT8eMiPshkpp A9GFrw1754fj7mnzIEYZ+LLqvtjI89kNdsOVw+172BVjBoQHHqT0ft4hfN3FTcOUGzg9 pAyV0PfhhxMcQrwE0kGmxpygK+Q9cF+oWW140zygv5Lz+IdJ1yACVUb+Mo3CXu9CifLh 9Tbsp2hFrvN1xl/Ea7AY55RPAzTU+l/wCavF7BBxH7sE2IObbeAKU4LISvJsIQUEB1xn +bLg== X-Gm-Message-State: AAQBX9fKhcd9IAyMKi/hKmMvb2Jh7gZUw2fF/mdga5zuIRfmik8G/xuK Snd198I0YN02vhN/PUMv8zj2vw== X-Google-Smtp-Source: AKy350Z9nhHQkGwfXXAmu9CDd/l+fSb9QwcPUqGPeKtnTr9ak7kVjuSZ14j5pV/JdmEBP0Rbu/ulIA== X-Received: by 2002:a17:906:2319:b0:932:b790:932c with SMTP id l25-20020a170906231900b00932b790932cmr597111eja.44.1680634879631; Tue, 04 Apr 2023 12:01:19 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:7467:56f4:40b7:cba8]) by smtp.gmail.com with ESMTPSA id dx21-20020a170906a85500b008d044ede804sm6257079ejb.163.2023.04.04.12.01.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 12:01:19 -0700 (PDT) From: Krzysztof Kozlowski To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Swapnil Jakhade , Yuti Amonkar , Abraham I , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/5] dt-bindings: phy: cadence-sierra: drop assigned-clocks Date: Tue, 4 Apr 2023 21:01:11 +0200 Message-Id: <20230404190115.546973-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230404_120121_268177_3B06F66F X-CRM114-Status: UNSURE ( 8.43 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org The meta schema from DT schema already defines assigned-clocks, so there is no need for device schema to mention it at all. There are also no benefits of having it here and a board could actually need more of clock assignments than the schema allows. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/phy/phy-cadence-sierra.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml index 6a09472740ed..1de699fe5306 100644 --- a/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml +++ b/Documentation/devicetree/bindings/phy/phy-cadence-sierra.yaml @@ -61,14 +61,6 @@ properties: - const: pll0_refclk - const: pll1_refclk - assigned-clocks: - minItems: 1 - maxItems: 2 - - assigned-clock-parents: - minItems: 1 - maxItems: 2 - cdns,autoconf: type: boolean description: From patchwork Tue Apr 4 19:01:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13200895 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 22B19C77B60 for ; Tue, 4 Apr 2023 19:01:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=y6IybH7Uz0CemnzXMYXIOZ8jIvwNfKg/9CP0D22fScc=; b=JX9Jo41NIAP9ZI XlcRtsAQB+XgHc1D+jvlptwRvn6QbkAw1eftyH1c5HVtgzloVjKSzBItjzbxAkb7dp5vW0ovlAiAX IFwPOqbTtoGxaWprHa1vlh7CceAqvaqp7MMQitPgm/SBmU1QeqfZB2Z9o1CulbGxO4UUEJHv1Mra6 bMrKEjdctyNuCjZKhf4vk6rpEhogZWumNlDP8yO+tgNc9EhDKIfNHrvRbKQipaCAlnHKkWIDOIiSY 0q7d5D+csqU66r12u8JrFXr57B14szb5WZCgvduWQyT5YAj/Wubr3FDTQMdf4Pl9jG4QKtM/ZlBmv 3e+EOJ6kx0cOnAMxDnJA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pjluJ-002Z3C-24; Tue, 04 Apr 2023 19:01:27 +0000 Received: from mail-ed1-x52a.google.com ([2a00:1450:4864:20::52a]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pjluG-002Yzi-25 for linux-phy@lists.infradead.org; Tue, 04 Apr 2023 19:01:25 +0000 Received: by mail-ed1-x52a.google.com with SMTP id eg48so134560803edb.13 for ; Tue, 04 Apr 2023 12:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680634881; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=siX//wbRdPcHa0A32GfJh/26lg5gyZzU6mUPQs/OP4g=; b=b3D9uKATuq9rmH7AV2GGxzPklV56XhdLO9DS5guHITk7eqy6UQrJRjqwbmJ5af81GV fvdto36kqeltwH+0n0PlLXkgDf7mxnt64Ax4gRuHyXIN5T0osvTuV/zEScgUzZf6Qsgd GYvXumzNNZJBtXbn9OU1bfrVvzO1j4f9BChH9ppvzK+v3SA3LMN1npc/2VtOIKJgyLAz F7sgv5sbptfuQx6IqUOUaRTyip7KmHu18Jpuqk2ivm7H4oDAKWDvg/wk9UGEnQEU61w3 lIIpC+gh5+7LYOBGlIdOWdI/4671qqczYZIqlRNssK+U3TuIeWWIbLepiV0ddDLEMKPL E1yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680634881; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=siX//wbRdPcHa0A32GfJh/26lg5gyZzU6mUPQs/OP4g=; b=5YG5sQtXjF7Kjx4nWflEtT2TxduUzqCBSl5BXtMOTg+qzomyRW7YaaJSm9nC8tG+m9 T7gSd/b+BrgnQxx7V+l22HGJiaLSOOqsBEMU19o26d3QanYn90t/MUBOkjG/VGdZhFhe ce1U6/HQRAKZa9SfRuUF/pmgjTsUMplf9xKf2FZCbDD2DLVxgZ0XdqJzDhtfKpJdWrIy cQvGc/cEjgRyZxMd36RlHpDsne5RG8WKWtq+qd0NVXKM1GqUAuTdDsl/AcYJevJ+Jhf/ NYwIzMLDJYkeK7/q8yHqVMu9NxH9V7+/xlTqehjML2n+r9faNwMQdzrUcCgQCsdQ8AT2 /IPQ== X-Gm-Message-State: AAQBX9epVvTCNfU6kVKgiHmHILaqAyPK0hlGN8DKfo+2Ko5wLRCcNuKj qn/SBdQvTwnIiXRl47eftYCuFxMwprLxudlF7O4= X-Google-Smtp-Source: AKy350axTcQuqtRhNBq4mwSO6xgliAFnNzA4wAjIj1P1fJbgBspY8TwtsK7eCEGwYkoPwn0dMmSUPg== X-Received: by 2002:a17:906:b199:b0:8fa:b2b:9de with SMTP id w25-20020a170906b19900b008fa0b2b09demr548651ejy.25.1680634880861; Tue, 04 Apr 2023 12:01:20 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:7467:56f4:40b7:cba8]) by smtp.gmail.com with ESMTPSA id dx21-20020a170906a85500b008d044ede804sm6257079ejb.163.2023.04.04.12.01.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 12:01:20 -0700 (PDT) From: Krzysztof Kozlowski To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Swapnil Jakhade , Yuti Amonkar , Abraham I , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/5] dt-bindings: phy: cadence-torrent: drop assigned-clocks Date: Tue, 4 Apr 2023 21:01:12 +0200 Message-Id: <20230404190115.546973-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230404190115.546973-1-krzysztof.kozlowski@linaro.org> References: <20230404190115.546973-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230404_120124_684536_8C3393B8 X-CRM114-Status: UNSURE ( 8.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org The meta schema from DT schema already defines assigned-clocks, so there is no need for device schema to mention it at all. There are also no benefits of having it here and a board could actually need more of clock assignments than the schema allows. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/phy/phy-cadence-torrent.yaml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml index 2ad1faadda2a..033a24172b01 100644 --- a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml +++ b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml @@ -44,12 +44,6 @@ properties: - const: refclk - const: phy_en_refclk - assigned-clocks: - maxItems: 3 - - assigned-clock-parents: - maxItems: 3 - reg: minItems: 1 items: From patchwork Tue Apr 4 19:01:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13200896 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 41F82C77B71 for ; Tue, 4 Apr 2023 19:01:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GR623NfOasmVbZ99qthbKkcl4fD7c7rJ1VEX7y0NWho=; b=efTSIAs/OWTgt1 fsC9iPSbBKLKgZbC/kpSaFeTnlE7eK2Se+gyAT8ym4vCyUZFT7vqG7YSYE8YP4GwGOIlkkiZMJ7Lg K0IusomeBeer6ti3aJsR0/IAXFWjvQ3FV+/O6XdQ1fahF/s3rmnlIyKjKRGOfzTNnkBbx7O7Ex7Ro R0WZuR3wczB2V+HJ0b7nWp/APOtOQbMgPmx4DGAQVcxcQ9NGOCiuEnTbOVtyPaA29q83JGW1Cglee cg0VAPCaVbPwsCD0ZizQWqFrCnAOH0bvBRyPNAbN4Ni+UcWV+nxLkfC/+owvt/kmWhmphnZ8OgPtJ VTmmpoRAvbcrSBArHq9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pjluJ-002Z3V-2y; Tue, 04 Apr 2023 19:01:27 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pjluG-002Z0D-2z for linux-phy@lists.infradead.org; Tue, 04 Apr 2023 19:01:26 +0000 Received: by mail-ed1-x52e.google.com with SMTP id cn12so134707187edb.4 for ; Tue, 04 Apr 2023 12:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680634881; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1gN6UktfhGhq/wt9oSUVorCmIWND3+y76zHl2dlJ3nY=; b=cSSpiX9pabelbWFTHnChkccbAVL+A8a8gUJgioolKVE61890gDbv2RljIMauD6hpkY TItoyCmOSXuWlWvaoZa6bcafjb03Q2CJaqlnMW9ytzRLsZaBH7V1PxVjGLwrWqbG/kTd V1JVPgpcHIzRsjhStilF9e2dBXV1tAQaVTcvE6sKAYMnTOOhxwHk5ItTlGgxIrMvzhu2 Q3z6S6Bxui50SYu2llGq7FfKCI+Ww5wLAsHy8m12oih8G0lXGNEgyKHF8Q9oEF3llyFv I2HxP8ngwt4HjfmbH+5mE0zyMOnJi9WbUJvYlSJW500Exx0vxKlDnMILwqE88NyIWTt0 9bbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680634881; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1gN6UktfhGhq/wt9oSUVorCmIWND3+y76zHl2dlJ3nY=; b=Dn4Vuy7YsUvUFmpB8f2otbWnE9QTxUv/qgTZSasY5dsFtoxy5JfHdPdtZteDIDO5U7 sepKPTGLw6yI44VHT8KouWSHCUhx8wVeVMz7fz3ZlJhNRwMxO7wOTMqNeCASitIFh7Hb beABB0ZwoG+BimrUFY89l5niUYmxhYWjbZ9NIK1tfIHLDquqzJ7UyUuyjno7zIJT9tXf 17Am/URnSokP8sxK00GGAAZAf9DKP6jUMAwPwpNvaIzWyAxQAaMYcqquuGz4ALJscLC6 pLD6JhiEwytVTdP3zZY9W3PFqlorbOwkp7dbikbkC6WvjNqV4/xZiu8LUfKjmPl3KsFM tHsA== X-Gm-Message-State: AAQBX9d6pIzcPJQHHb2z+Gv26+aE4wvY7FYVFAgW0p4I+T3GkmvcFleo L6srIdv1R5j5XK5BlnT3D6KXfQ== X-Google-Smtp-Source: AKy350byDBq4o0sNh1eGFgbkcrFNkrCEYKSrGSAasw/Hf6E+t7r9pGPCdzC3i07Pi4ztIyN2VXCr6Q== X-Received: by 2002:a17:906:c00d:b0:921:54da:831c with SMTP id e13-20020a170906c00d00b0092154da831cmr245053ejz.31.1680634881806; Tue, 04 Apr 2023 12:01:21 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:7467:56f4:40b7:cba8]) by smtp.gmail.com with ESMTPSA id dx21-20020a170906a85500b008d044ede804sm6257079ejb.163.2023.04.04.12.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 12:01:21 -0700 (PDT) From: Krzysztof Kozlowski To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Swapnil Jakhade , Yuti Amonkar , Abraham I , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 3/5] dt-bindings: phy: ti,phy-am654-serdes: drop assigned-clocks type Date: Tue, 4 Apr 2023 21:01:13 +0200 Message-Id: <20230404190115.546973-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230404190115.546973-1-krzysztof.kozlowski@linaro.org> References: <20230404190115.546973-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230404_120124_963445_48E9A3F9 X-CRM114-Status: UNSURE ( 8.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org The meta schema from DT schema already defines assigned-clocks, so there is no need for device schema to mention it at all. The specific parenting of the first input and output clock is apparently important, thus keep them as required, but without defining type. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/phy/ti,phy-am654-serdes.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/ti,phy-am654-serdes.yaml b/Documentation/devicetree/bindings/phy/ti,phy-am654-serdes.yaml index 738c92bb7518..854e554eae67 100644 --- a/Documentation/devicetree/bindings/phy/ti,phy-am654-serdes.yaml +++ b/Documentation/devicetree/bindings/phy/ti,phy-am654-serdes.yaml @@ -34,11 +34,6 @@ properties: Three input clocks referring to left input reference clock, refclk and right input reference clock. - assigned-clocks: - $ref: "/schemas/types.yaml#/definitions/phandle-array" - assigned-clock-parents: - $ref: "/schemas/types.yaml#/definitions/phandle-array" - '#phy-cells': const: 2 description: From patchwork Tue Apr 4 19:01:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13200897 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9B443C77B62 for ; Tue, 4 Apr 2023 19:01:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=6hdBKV6hytBXiq4lG3wW6y9Nnr9BBcha/Fx3kVBwPfk=; b=QTUQ4kilYx4q4o SLeobYWCFau1wkAJdB4H8J6/qyTMeNuylU2ukMngsRE2euuRV8XDiESXolU4rZAHXCjuo+Kf3HVNN 3MD9T8MlmSEIMchuokWjrbVvRFPe9U4TUzOyFyA7Lbx/CHriLtVckgTWziBJ8TG/dxSh4N+mFFM5w BKKPitkrsityGopRBOYfsEK5enK91CcSlx3+EX8NK8v8LxO4seBdJJKQz5aJZN06l/Nj2gkepwjwh zeSKZ4KXQNw0skeiUR/Q3kbInJmn89r7h22FFhpP9a0FRRXBIR+IoZo8a+MeRLkCE0Kb8nTJOWyZS GCSOinxfyY2Lqevj1zgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pjluL-002Z4E-0o; Tue, 04 Apr 2023 19:01:29 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pjluI-002Z0V-1I for linux-phy@lists.infradead.org; Tue, 04 Apr 2023 19:01:27 +0000 Received: by mail-ed1-x533.google.com with SMTP id er13so93681032edb.9 for ; Tue, 04 Apr 2023 12:01:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680634882; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VHE/rBbww83tJZiQz3167wNvDjgskvsYq0IYxB/AOR4=; b=zPYLj9QkXCUFrb232mzqMKckOcIXMdGh67Jxx52nBaKxag/jlB8aJKsduacGDVmoeM MY/WNxq+mj8lGeDWSl5PJHP+YHexcHu5dC+ZtOTJ+oc6mpxEnWuaYgsWsDxrmqlFmjdl GtCWw00Or/ECfxUdr4tKiW7gPtcCNOWC3GFHWp97bA4nRBU4U1ahISB2bxz0etsYgPsy tatSMpfVcapW5/r7mb8tFdaYgJv06NNrTysilysgn+PgGQWfWU341a+Mrliad0pNXwFw IyjCoocRc9MbwtDw99xRdJ6efKZnhP8tHZwHwr6tLbclQFfbpoZrSvlagotRH5rJPi4v ZfWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680634882; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VHE/rBbww83tJZiQz3167wNvDjgskvsYq0IYxB/AOR4=; b=hS4P9lqr9WaN89Pi4InO6ISdJf7/8dZR+ec17G3QZX058nM/dDRUMVK1tLLZ/mGR77 SAvR6X59b9evQGt8FumIf5avwM8hnhy1xKd96NpuM/kfmg2BvFlb7kMJBZJfG6Fv0uA2 f36bgjDrK2GmtL1gt83OYV34kI+F1aiJkhYQ9Wj/yWpzeAuTcvB6TyDmEbjiYQvkJ1Du mozzgchanNGBrL7YFuFuASviULE6h7BEN41c4DHlNgGKzy8u7wRA+lIKiEFKgS1Q66TA MBIb90gGi+2vEXGX1xpejsXsIbBPtFGErZQ4HBZIZ3qjqnETCLsN6cgSpdrdIp2EuzoM auAQ== X-Gm-Message-State: AAQBX9fORpXIZjYvBG/X8nBhYxXe3kvMhJWWuXfJBv6CJr2w9OF1mMeG 1DmEtm3agl7cAD8YFGt95pO0Gw== X-Google-Smtp-Source: AKy350b2+sG8vxa+S9kO9UBfoIkxY8Nw5+1joCziMKEUVv4LhML9JMZc9XN4M+q0gTUfxHaykEfTJw== X-Received: by 2002:a17:906:3e96:b0:93b:2d0b:b60e with SMTP id a22-20020a1709063e9600b0093b2d0bb60emr466105ejj.74.1680634882724; Tue, 04 Apr 2023 12:01:22 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:7467:56f4:40b7:cba8]) by smtp.gmail.com with ESMTPSA id dx21-20020a170906a85500b008d044ede804sm6257079ejb.163.2023.04.04.12.01.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 12:01:22 -0700 (PDT) From: Krzysztof Kozlowski To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Swapnil Jakhade , Yuti Amonkar , Abraham I , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 4/5] dt-bindings: phy: ti,phy-j721e-wiz: drop assigned-clocks Date: Tue, 4 Apr 2023 21:01:14 +0200 Message-Id: <20230404190115.546973-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230404190115.546973-1-krzysztof.kozlowski@linaro.org> References: <20230404190115.546973-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230404_120126_447027_349FBF99 X-CRM114-Status: UNSURE ( 8.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org The meta schema from DT schema already defines assigned-clocks, so there is no need for device schema to mention it at all. There are also no benefits of having it here and a board could actually need more of clock assignments than the schema allows. Keep however the assigned-clocks in children nodes, as apparently their proper parenting is required. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/phy/ti,phy-j721e-wiz.yaml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml index c54b36c104ab..4f3841e6a307 100644 --- a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml +++ b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml @@ -54,18 +54,6 @@ properties: ranges: true - assigned-clocks: - minItems: 1 - maxItems: 2 - - assigned-clock-parents: - minItems: 1 - maxItems: 2 - - assigned-clock-rates: - minItems: 1 - maxItems: 2 - typec-dir-gpios: maxItems: 1 description: From patchwork Tue Apr 4 19:01:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13200894 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BC2BAC761A6 for ; Tue, 4 Apr 2023 19:01:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=g2T1mSd7PmvezQdUSd17BPzt0a+mu1tPtFrmDn9FMsI=; b=dkgw7UYM5XWxq0 LaXB+s0IMt2yUjmFJcl7xCqJlUrIWKuCEwvQoPjSbXHV6L1E8S/9LFo7+CutFiJuCKoXUI4YbOls6 dvxrzLelWVmqQvNs9VGBR9XJVnNITs9A0g/iwHQqxxd0JoA+McqTWFpoYYairsWJGtjDee1kY2HvU KS/0WEFOw2Fe6mdFGuwA1XmxWwjq+p1d5L+7TqWGYgoCUI/CnYIHFAbHxs28Z+DRHRD+HL305a6ZQ gDnouyroFxy3L+GAdiuEl0QYmc+BQkyZWULB7jNjuyy94cIoEGTz25qGWHKmB/FwAeoCTsGN5Hdqj sZ7t1Iv3QQKq2shaTyFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pjluJ-002Z32-1E; Tue, 04 Apr 2023 19:01:27 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pjluG-002YzH-1a for linux-phy@lists.infradead.org; Tue, 04 Apr 2023 19:01:25 +0000 Received: by mail-ed1-x52c.google.com with SMTP id t10so134516015edd.12 for ; Tue, 04 Apr 2023 12:01:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680634884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MJfzhfU8C0LMQ39+xZRczmG3MwdDxjd8/cU7F3h/DO0=; b=jYR2XcGOEiEkZeZ07K1e/e/Qf0RznZdzsoqGXWio0xrONB7hm7CO6Tsyfpz3VNooVQ T8PV4pSSMnefFFRXlDbxPEkt1sCBFsyHsRKkbatLPL3K55IqxXx3pGDYwmdL/B4K0I96 7F4XgmZOOVsugw0ci+LNfITqtOZ+SylE/x22EB59PNn43ubCun+ceSFWsNvsGMStN6cc GMYAMnv74zEKpvW2jQrGglVIel6pFlz/OjKMdjicd6+IwBY16R1/KXnYykHjgVDj28QW 3nTYb6cc1QplLsxheS6Jswy3N2afIIMR/So/455tDqFBZtv9c+ZrPhNI3RFLNMLo9Y65 P07w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680634884; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MJfzhfU8C0LMQ39+xZRczmG3MwdDxjd8/cU7F3h/DO0=; b=VuQKRMwM4KMnhx3iBgKVsnkKmEwtwWUlPEyrh2iixsDX5YMn2aUx/2gt5Vd5asVpQJ zpZj2tQea3ZFdj2dCIZCeOgfiZs5X3iCHtYCYm/x8IZ7Qb+tRKd7eNP8T2GTHcmLEedY EqEP8VjrvbDjLIH//yzy+vsO7ewpajvDQBlDhAAxfDdREuAvW3e0wfV5mHnpipJbtjvH JXS1sAM2Mby7fmGWmGIBpZu7qkPz6zcnM2ICNJMDHPX8pcZvgiQ7FpZYy7B7ojVjDb8c cCEMN2/8xo3yYDSepiFOO2UKOyzL69fqDFqILU6R1/z5k3KLTUY/LZSMaD2sMUPsG2f/ a/4Q== X-Gm-Message-State: AAQBX9e6ssvVp+n1EWGqalecYU15r8t7mWV5XE52ZdKRK3MC1slCYMng koJo59sLSt7uJR7tgnnrtag5Ew== X-Google-Smtp-Source: AKy350acHNH4A4LEG3R+ql8VXDXLwRtEb9G1ykKetLMqq9tM4ME2+7+RzIaR442wiKJUZcJlfBlKcw== X-Received: by 2002:a17:906:430a:b0:914:4277:f3e1 with SMTP id j10-20020a170906430a00b009144277f3e1mr585067ejm.53.1680634883969; Tue, 04 Apr 2023 12:01:23 -0700 (PDT) Received: from krzk-bin.. ([2a02:810d:15c0:828:7467:56f4:40b7:cba8]) by smtp.gmail.com with ESMTPSA id dx21-20020a170906a85500b008d044ede804sm6257079ejb.163.2023.04.04.12.01.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 12:01:23 -0700 (PDT) From: Krzysztof Kozlowski To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Swapnil Jakhade , Yuti Amonkar , Abraham I , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 5/5] dt-bindings: phy: ti,phy-j721e-wiz: document clock-output-names Date: Tue, 4 Apr 2023 21:01:15 +0200 Message-Id: <20230404190115.546973-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230404190115.546973-1-krzysztof.kozlowski@linaro.org> References: <20230404190115.546973-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230404_120124_558400_532419AC X-CRM114-Status: UNSURE ( 8.53 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-phy@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux Phy Mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-phy" Errors-To: linux-phy-bounces+linux-phy=archiver.kernel.org@lists.infradead.org Document the clock-output-names property of clock children, even though the nodes are actually deprecated, to fix dtbs_check warnings like: k3-j7200-common-proc-board.dtb: wiz@5060000: refclk-dig: 'clock-output-names' does not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/phy/ti,phy-j721e-wiz.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml index 4f3841e6a307..651f23580930 100644 --- a/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml +++ b/Documentation/devicetree/bindings/phy/ti,phy-j721e-wiz.yaml @@ -89,6 +89,9 @@ properties: "#clock-cells": const: 0 + clock-output-names: + maxItems: 1 + assigned-clocks: maxItems: 1 @@ -122,6 +125,9 @@ patternProperties: "#clock-cells": const: 0 + clock-output-names: + maxItems: 1 + assigned-clocks: maxItems: 1 @@ -150,6 +156,9 @@ patternProperties: "#clock-cells": const: 0 + clock-output-names: + maxItems: 1 + required: - clocks - "#clock-cells"