Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1368771pxb; Fri, 21 Jan 2022 16:43:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYz9PYsFQZobS7hd1WkQFx+Po0AUctDj849L1dCRRU33/6XCrsIzcLpEwsN3aONCY9lJEi X-Received: by 2002:a65:604a:: with SMTP id a10mr815529pgp.357.1642812236816; Fri, 21 Jan 2022 16:43:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642812236; cv=none; d=google.com; s=arc-20160816; b=UapqrrRj75lOm7osadGiCJY4DJOU4ELcMDfAW18juCHkV1wqxBY7Yyjlo9kMGOOmTU 7m/AicJLHFoUDPQYFjPA8nAxFG7cdSshJeyPaHd/LNITHGqGPdGkXaNwzteL/2cSSkHy u5hS11tEFk7JieJllmffmHVO+Q3VqMR3xvOLHa0dpYuMrlNT/MPJV+8ECprjApF1Qsd/ 9HUPgUSmo/Cdx533bem/m4hX+7HfnJM/SXIh+/XWzA131XomwUG93SrV7wOtoyp27UsX eCeAy3t1y8pOo3HDmbBa/g+DofGW2vgICjfLmu2PlH1e50duyELd1zGLuNyo6KgmS5E4 tH3A== 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=g1t5ZkmS5sFmGdv/w4eHt//216aXDZLa8/FNmCyDPbw=; b=ZYJpDtXipliqmKpa7EWjG0yLQalAm2fyS4304r1756fQxPcjQz9Yb/8jenDZmHuYeO 3W95uyCU/IJU5fjZZtujk2srKWBGi+SqwLRVz6d4k3in74HMQKu49l+elx3jVy8s+iI/ 6gIsl6cuD2qaOyouHUAt2fgE733oahKzT1fqr6HSiSxVI/SElHfj7BKwVb7k1Y82n5Ce afGvSHmTQz5d5th1fBNLMoMuXoqlYbqiKnhtRPbVSKqQAmhPhHZDaxgR46zLjiRIeDvh vOmZZtg+iO7+DIrLsZVQjdm9A2oxJkavFnjpIuT6gHc8Gy/A92OqUWA9tKIkfg6/KJuA m12w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vGLnzqMH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e2si6947900pfe.62.2022.01.21.16.43.45; Fri, 21 Jan 2022 16:43:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vGLnzqMH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349813AbiAUJjT (ORCPT + 99 others); Fri, 21 Jan 2022 04:39:19 -0500 Received: from lelv0143.ext.ti.com ([198.47.23.248]:54936 "EHLO lelv0143.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349623AbiAUJjS (ORCPT ); Fri, 21 Jan 2022 04:39:18 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 20L9d5t8008719; Fri, 21 Jan 2022 03:39:05 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1642757945; bh=g1t5ZkmS5sFmGdv/w4eHt//216aXDZLa8/FNmCyDPbw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=vGLnzqMHwEZ908/u49odC3XfFKPkpK0GuhnNXPfqt1EQt23kx9xAun+LrQ2Zf88RC EL5f1pyeXlIqOYD1lIZWm5TuH0QzorEpkxmBB+T03sSSYYBVvqiXOBseGnHyrCrYRK pE7QfSpZXR5Ggz5ev2i5/rnIlnBRQbJwLeEer77k= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 20L9d5Ar043556 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 21 Jan 2022 03:39:05 -0600 Received: from DLEE114.ent.ti.com (157.170.170.25) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 21 Jan 2022 03:39:04 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Fri, 21 Jan 2022 03:39:04 -0600 Received: from pratyush-4F-325.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 20L9cndP048554; Fri, 21 Jan 2022 03:39:01 -0600 From: Pratyush Yadav To: Vinod Koul CC: Pratyush Yadav , Laurent Pinchart , Paul Kocialkowski , Tomi Valkeinen , Vignesh Raghavendra , Kishon Vijay Abraham I , Rob Herring , Swapnil Jakhade , , , Subject: [PATCH v8 3/4] phy: dt-bindings: cdns,dphy: add power-domains property Date: Fri, 21 Jan 2022 15:08:48 +0530 Message-ID: <20220121093849.3218092-4-p.yadav@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220121093849.3218092-1-p.yadav@ti.com> References: <20220121093849.3218092-1-p.yadav@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This property is needed on TI platforms to enable the PD of the DPHY before it can be used. Signed-off-by: Pratyush Yadav Reviewed-by: Laurent Pinchart Acked-by: Rob Herring --- (no changes since v3) Changes in v3: - Add Rob's Ack. Changes in v2: - Add power-domain to the example. - Add Laurent's R-by. - Re-order subject prefixes. Documentation/devicetree/bindings/phy/cdns,dphy.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/phy/cdns,dphy.yaml b/Documentation/devicetree/bindings/phy/cdns,dphy.yaml index b90a58773bf2..c50629bd1b51 100644 --- a/Documentation/devicetree/bindings/phy/cdns,dphy.yaml +++ b/Documentation/devicetree/bindings/phy/cdns,dphy.yaml @@ -30,6 +30,9 @@ properties: "#phy-cells": const: 0 + power-domains: + maxItems: 1 + required: - compatible - reg @@ -41,11 +44,13 @@ additionalProperties: false examples: - | + #include dphy0: phy@fd0e0000{ compatible = "cdns,dphy"; reg = <0xfd0e0000 0x1000>; clocks = <&psm_clk>, <&pll_ref_clk>; clock-names = "psm", "pll_ref"; + power-domains = <&k3_pds 147 TI_SCI_PD_EXCLUSIVE>; #phy-cells = <0>; }; -- 2.25.1