From patchwork Tue Dec 3 10:13:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuti Amonkar X-Patchwork-Id: 11271195 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DA45414B7 for ; Tue, 3 Dec 2019 12:48:59 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C211020684 for ; Tue, 3 Dec 2019 12:48:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C211020684 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cadence.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B300D6E4F3; Tue, 3 Dec 2019 12:48:37 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mx0a-0014ca01.pphosted.com (mx0b-0014ca01.pphosted.com [208.86.201.193]) by gabe.freedesktop.org (Postfix) with ESMTPS id 728FA6E03E for ; Tue, 3 Dec 2019 10:34:11 +0000 (UTC) Received: from pps.filterd (m0042333.ppops.net [127.0.0.1]) by mx0b-0014ca01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id xB3AE61Y026007; Tue, 3 Dec 2019 02:14:14 -0800 Received: from nam04-bn3-obe.outbound.protection.outlook.com (mail-bn3nam04lp2059.outbound.protection.outlook.com [104.47.46.59]) by mx0b-0014ca01.pphosted.com with ESMTP id 2wkmvyurgx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 03 Dec 2019 02:14:14 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g7AggO+vbRf2ish0sM3Z4Wy7E33nqL969szJjpKO4gHqupX3MHM3yKZfGh9mWYeAdWxmYH+GzFJVFw2OfLUpmeeRiLxd2vdWy05qfNrtBPOqGtrWvrOclj6w9FQrR7t1ckDwynD0wQsw3O7YNRXfc5Sgwvrmd0UwFQ2GXhAnr2Lr04a8NaBIjm7Hc/5C8Q3d5jHUR9ti0i87ddbD6xBLP9RJTwaMqR+//e/gtStp36osQu+DpKZdml6yXEsoxZTpkR6ot5adcg/PPYzk1d4L8G9tJ7BuoBFqMf6WiDok7j0PP7m3PNhM5TDCuKqBi1QntbUTFDd2zIOpLBDWS9lUtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MviBGKAJ8qooqERb5EqCXDB396qvfGTYb8NoeSVNxTo=; b=i77TjryW3XFPM8Z6nGXqXEXgJEIfQ0phxZ7HSSW4aFLMJhYW5RKkGkhpLOy9tRhL6WSAXGGx8KQiVkRVkk4u1r1NSLqmZdHEBWWp6mPu/pE4Gp19PGE7AVm+nRv88db7EZ+D2tl8aMoggpUSeL3+ZOGggK3WqAb7QFVChT6uMdRvxXkEVYy+/57EYHBRket80MxGGDRabfwNDKOaUphVujij7yS+vb3iuKtqivbaeh6Z09uUGDJbcpaqa+Mi0nBOyACFnbsj7JTfdstSswoz0hmtj0xiBMF4dI5GFPT26zMm8r4yrUqqNc9+Y1rumbOuXtBTm4c2W7Cj/HRNKmqRDw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 158.140.1.28) smtp.rcpttodomain=ti.com smtp.mailfrom=cadence.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=cadence.com; dkim=none (message not signed); arc=none Received: from CY1PR07CA0013.namprd07.prod.outlook.com (2a01:111:e400:c60a::23) by DM6PR07MB4697.namprd07.prod.outlook.com (2603:10b6:5:a4::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18; Tue, 3 Dec 2019 10:14:12 +0000 Received: from DM6NAM12FT038.eop-nam12.prod.protection.outlook.com (2a01:111:f400:fe59::202) by CY1PR07CA0013.outlook.office365.com (2a01:111:e400:c60a::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.17 via Frontend Transport; Tue, 3 Dec 2019 10:14:12 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning cadence.com discourages use of 158.140.1.28 as permitted sender) Received: from sjmaillnx2.cadence.com (158.140.1.28) by DM6NAM12FT038.mail.protection.outlook.com (10.13.178.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2495.18 via Frontend Transport; Tue, 3 Dec 2019 10:14:12 +0000 Received: from maileu3.global.cadence.com (maileu3.cadence.com [10.160.88.99]) by sjmaillnx2.cadence.com (8.14.4/8.14.4) with ESMTP id xB3AE7sp027708 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Tue, 3 Dec 2019 02:14:11 -0800 X-CrossPremisesHeadersFilteredBySendConnector: maileu3.global.cadence.com Received: from maileu3.global.cadence.com (10.160.88.99) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 3 Dec 2019 11:14:07 +0100 Received: from vleu-orange.cadence.com (10.160.88.83) by maileu3.global.cadence.com (10.160.88.99) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Tue, 3 Dec 2019 11:14:07 +0100 Received: from vleu-orange.cadence.com (localhost.localdomain [127.0.0.1]) by vleu-orange.cadence.com (8.14.4/8.14.4) with ESMTP id xB3AE7T7030883; Tue, 3 Dec 2019 11:14:07 +0100 Received: (from yamonkar@localhost) by vleu-orange.cadence.com (8.14.4/8.14.4/Submit) id xB3AE7ht030882; Tue, 3 Dec 2019 11:14:07 +0100 From: Yuti Amonkar To: Subject: [PATCH v1 02/15] dt-bindings:phy: Convert Cadence MHDP PHY bindings to YAML. Date: Tue, 3 Dec 2019 11:13:12 +0100 Message-ID: <1575368005-29797-3-git-send-email-yamonkar@cadence.com> X-Mailer: git-send-email 2.4.5 In-Reply-To: <1575368005-29797-1-git-send-email-yamonkar@cadence.com> References: <1575368005-29797-1-git-send-email-yamonkar@cadence.com> MIME-Version: 1.0 X-OrganizationHeadersPreserved: maileu3.global.cadence.com X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:158.140.1.28; IPV:CAL; SCL:-1; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(136003)(39860400002)(376002)(346002)(396003)(199004)(189003)(36092001)(6666004)(14444005)(50466002)(356004)(6916009)(76176011)(426003)(86362001)(87636003)(186003)(48376002)(26005)(51416003)(336012)(305945005)(11346002)(26826003)(446003)(6306002)(7636002)(54906003)(2351001)(76130400001)(478600001)(107886003)(8676002)(8936002)(36756003)(50226002)(246002)(5660300002)(4326008)(2616005)(2906002)(42186006)(16586007)(316002)(70206006)(70586007); DIR:OUT; SFP:1101; SCL:1; SRVR:DM6PR07MB4697; H:sjmaillnx2.cadence.com; FPR:; SPF:SoftFail; LANG:en; PTR:corp.cadence.com; A:1; MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cdd3e705-08fb-4c7e-3d3e-08d777d98b46 X-MS-TrafficTypeDiagnostic: DM6PR07MB4697: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-Forefront-PRVS: 02408926C4 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c3da/MU/cchZyEsMmh3FQf8mnLG9stxj9ZQONjh51js6CLtYTPPSQjJSuzFFLR14vtBSuL1VNLUtxzHzH7o2c7yP8zXeZAo8j7GItEwcltiOsICWkFeX5ude1ESfZMW0wU7PrAuyl6i1EQjZeelAy2KOxgH9xxsDRrMg/ycClRGGpDwJJ3z0xB8VftYM0RBMZeauvBCaU4H6avJqtkQUDyavwjULlfW+n3EggapNZrvcjaDjMOBaCdWFWugZq5ihJZOUQhbogD1tJriji/1uikKdI7OE2s82U8oH2d3Q8o++wR8asaCsV1tQHTQ42bo47aobkU1LajcEIFzdT0Was3Gtj76Ua1iJYHuRuJo1NcUG8JXKNWPTa8vGmdF+1JEwpG3Pc+WmB8jTD5z9j2QWMgiyi2KiDjYBJeWOI8FPpGTpXDXwPg5v/fAOphio2nZwNTzbehHnqqMWiSby/mePEeV/jGl/slvFfe7hdjuuGrc= X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2019 10:14:12.3408 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cdd3e705-08fb-4c7e-3d3e-08d777d98b46 X-MS-Exchange-CrossTenant-Id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d36035c5-6ce6-4662-a3dc-e762e61ae4c9; Ip=[158.140.1.28]; Helo=[sjmaillnx2.cadence.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR07MB4697 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2019-12-03_02:2019-11-29,2019-12-03 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_check_notspam policy=outbound_check score=0 priorityscore=1501 suspectscore=1 phishscore=0 spamscore=0 lowpriorityscore=0 bulkscore=0 clxscore=1015 adultscore=0 mlxlogscore=999 malwarescore=0 mlxscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-1912030082 X-Mailman-Approved-At: Tue, 03 Dec 2019 12:48:27 +0000 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=proofpoint; bh=MviBGKAJ8qooqERb5EqCXDB396qvfGTYb8NoeSVNxTo=; b=j4vs6WjZYnhtx18k+oD/bg/30ogBgGOy/EQLAB27zOpxUYCUGE60eTEb0AuIsb6YPSOV C6JpDZBaXY6soHcXywvtgkj6+/QsKrUGN/AW+/0p39wpajuVuyRP+7KVWUAynNuUoPEK MYhmfHbilzmRCftkQg7c2vQW5E64PW8F49W6EU7pUzkI6/k0pTUMrUNIw0CPU2h9nNNI Wdv/MDrCeP4pTPf5S+ZNffP8Rx0FX3cnICYZtBQ0w5jAqWhFnrCtn+yAd/ox6eHrXyeL TYxiX6uerPpTh88sb0HOD2LlBs3BgyoTyk5vB4syLeuj3tYzSn5Onp8VhSvcd7y20YrN ig== X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MviBGKAJ8qooqERb5EqCXDB396qvfGTYb8NoeSVNxTo=; b=mJSrM4rF1JfxnE7kYesO49ZlfOxrJrtvVn8GLQM5QRpdMiQ/Fl7vhwkMTEwF6pnb/SxYBmq6Iy8dKziJ87qyWSZEBQXkpY1MA/UV+TzIw23Wir53pnymqZ4GbhEcU+mM/XZVPFXywZwyCAi0V+cKmfQfuQT5ktIT+LJK0oGCJfM= X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mparab@cadence.com, yamonkar@cadence.com, praneeth@ti.com, dkangude@cadence.com, jsarha@ti.com, kishon@ti.com, tomi.valkeinen@ti.com, sjakhade@cadence.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" - Convert the MHDP PHY devicetree bindings to yaml schemas. - Rename DP PHY to have generic Torrent PHY nomrnclature. - Rename compatible string from "cdns,dp-phy" to "cdns,torrent-phy". Signed-off-by: Yuti Amonkar --- .../devicetree/bindings/phy/phy-cadence-dp.txt | 30 ------------- .../bindings/phy/phy-cadence-torrent.yaml | 52 ++++++++++++++++++++++ 2 files changed, 52 insertions(+), 30 deletions(-) delete mode 100644 Documentation/devicetree/bindings/phy/phy-cadence-dp.txt create mode 100644 Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-dp.txt b/Documentation/devicetree/bindings/phy/phy-cadence-dp.txt deleted file mode 100644 index 7f49fd54e..0000000 --- a/Documentation/devicetree/bindings/phy/phy-cadence-dp.txt +++ /dev/null @@ -1,30 +0,0 @@ -Cadence MHDP DisplayPort SD0801 PHY binding -=========================================== - -This binding describes the Cadence SD0801 PHY hardware included with -the Cadence MHDP DisplayPort controller. - -------------------------------------------------------------------------------- -Required properties (controller (parent) node): -- compatible : Should be "cdns,dp-phy" -- reg : Defines the following sets of registers in the parent - mhdp device: - - Offset of the DPTX PHY configuration registers - - Offset of the SD0801 PHY configuration registers -- #phy-cells : from the generic PHY bindings, must be 0. - -Optional properties: -- num_lanes : Number of DisplayPort lanes to use (1, 2 or 4) -- max_bit_rate : Maximum DisplayPort link bit rate to use, in Mbps (2160, - 2430, 2700, 3240, 4320, 5400 or 8100) -------------------------------------------------------------------------------- - -Example: - dp_phy: phy@f0fb030a00 { - compatible = "cdns,dp-phy"; - reg = <0xf0 0xfb030a00 0x0 0x00000040>, - <0xf0 0xfb500000 0x0 0x00100000>; - num_lanes = <4>; - max_bit_rate = <8100>; - #phy-cells = <0>; - }; diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml new file mode 100644 index 0000000..d0037bc --- /dev/null +++ b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml @@ -0,0 +1,52 @@ +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/phy/phy-cadence-torrent.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Cadence Torrent SD0801 PHY binding for DisplayPort + +description: + This binding describes the Cadence SD0801 PHY hardware included with + the Cadence MHDP DisplayPort controller. + +maintainers: + - Kishon Vijay Abraham I + +properties: + compatible: + const: cdns,torrent-phy + + reg: + items: + - description: Offset of the DPTX PHY configuration registers. + - description: Offset of the SD0801 PHY configuration registers. + + "#phy-cells": + const: 0 + + num_lanes: + maxItems: 1 + description: + Number of DisplayPort lanes to use (1, 2 or 4) + + max_bit_rate: + maxItems: 1 + description: + Maximum DisplayPort link bit rate to use, in Mbps (2160, 2430, 2700, 3240, 4320, 5400 or 8100) + +required: + - compatible + - reg + - "#phy-cells" + +examples: + - | + dp_phy: phy@f0fb030a00 { + compatible = "cdns,torrent-phy"; + reg = <0xf0 0xfb030a00 0x0 0x00000040>, + <0xf0 0xfb500000 0x0 0x00100000>; + num_lanes = <4>; + max_bit_rate = <8100>; + #phy-cells = <0>; + }; +...