Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp900314pxb; Tue, 1 Feb 2022 12:46:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJyg3qg3IVkBMxpxz8h5sCQTS6g8ia35qa+AUq9EDXzLeP5y/cJnv9Kb/mxxN5cX47+0JTWC X-Received: by 2002:a63:6c87:: with SMTP id h129mr22458229pgc.530.1643748367061; Tue, 01 Feb 2022 12:46:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643748367; cv=none; d=google.com; s=arc-20160816; b=n+XD7qS6ZFyxIj6t2x5e1PasT9oMYtTWrCHAcnPzfuW+HSbBnOaT7QmfPuX/GxVJPA h1TMgw7+SHix3Wp1u24MFpRtk9TgGKNHouxBalEKx0YHhcJnE7dSdrlh5ifbeVF36+Vf fRG8hyRslCTHifZuNdujJzRM26CoZxwcQgX435aqJE+oM/xfDSmChzxRK8Z6xznnj7v3 94FNYfSS31mXZ2DvkK1jL+a4QB/P86LI30lURga/EFj5cBgskc9hLPp97918qXSLHQ8j frnsniC1fAqDKn7kM9bFTiDEAqC5XfLd5E+5trAbKV1g1v18k/I91jJsx1mQUlGEFvv8 7eGg== 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=hr1Zidk+dGcm12YMCGQGKYrVMcGM8HeOaDO0gU1IMTY=; b=myZRo81d2fLlrV+1/ULEJLKVkvrHn8Q0+3C3WvnW9QbGAYSTEKuVtPWgUMFG3w1Lkf LTXcPQbwbvjk3uvVGN/2tFq+NUEOPb23CG7xonUuJH9hUgSIcITdwElh98D8kY3LOqV+ /XfPsdADkZieV60MzpbTBksftGtvN/v73QWK0+TIgqCY8PWFbrcYz8+RhaHs6OidcNLO FsK1DvV8dng0Aakv/zJAjqhHAvJ4HEd5slJpHhzh+JYxhdXbsORjcQ0JmJ+k5XBNtXZZ nisd4iv4wjhJ/lAY83LKrKVu2D+toMXlYNCtQIQaCNWc3HqCjV8/Cv/EVkKbbBbVtB4l Ogtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="Ne/0JHit"; 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 d4si19653891plg.603.2022.02.01.12.45.55; Tue, 01 Feb 2022 12:46:07 -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="Ne/0JHit"; 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 S1381121AbiAaReH (ORCPT + 99 others); Mon, 31 Jan 2022 12:34:07 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:36028 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1381032AbiAaRdp (ORCPT ); Mon, 31 Jan 2022 12:33:45 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 20VHXU5q043158; Mon, 31 Jan 2022 11:33:30 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1643650410; bh=hr1Zidk+dGcm12YMCGQGKYrVMcGM8HeOaDO0gU1IMTY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Ne/0JHitLBIHH315R525SvxebVlhbJDXZGrAXLUimmFxujFN2tFsqyeaWHXboA7iD dZtPEUSBRUunmkKqC9nTIINr1oFvqV2lask0EFsVyewUzT+fn6aP7bloDzB79BMPDn kB/XwcgFWtbICXsJjX4Bc1tIjL2WmQoOsS/wvisA= Received: from DFLE103.ent.ti.com (dfle103.ent.ti.com [10.64.6.24]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 20VHXUXl032319 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 31 Jan 2022 11:33:30 -0600 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE103.ent.ti.com (10.64.6.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 31 Jan 2022 11:33:30 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE111.ent.ti.com (10.64.6.32) 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; Mon, 31 Jan 2022 11:33:30 -0600 Received: from pratyush-4F-325.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 20VHXFpg034468; Mon, 31 Jan 2022 11:33:27 -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 v9 3/4] phy: dt-bindings: cdns,dphy: add power-domains property Date: Mon, 31 Jan 2022 23:03:13 +0530 Message-ID: <20220131173314.2073641-4-p.yadav@ti.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220131173314.2073641-1-p.yadav@ti.com> References: <20220131173314.2073641-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.34.1