From patchwork Sat Jun 18 09:22:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liu Ying X-Patchwork-Id: 12886283 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 CCA6CC43334 for ; Sat, 18 Jun 2022 09:35:45 +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=pkGNTja0ZsEKuewtfOppj0VXWsGuaDuUq2gUJ5TmdlI=; b=ByKbW996l5xeMc ZY3/ba1BSt8A0XhjE+6XoUg/zLpZhMjqAUJElXdjACY6nOq1/cgTKbgg85v6+P2U98qOW2U0Skp+P vhBajVyp87TaK9Uneej/qOkYfRC7cHAgtAzvRUiimsRA0JGPQjG43fcm9LiwV1FeLgyV6yNAkH9zt qbtjmTluFO4eHPq+xYOJGOo12FMy1tWbAmWvSsGzvbCvtpaqQ9bqeoXD6QOtNzaUzn/IKy2EyN68n +2JTg/oXZShT9PBnM9uRQK5XQErLcHgibuUkXYB8Ox10eny/v9lFN/SLKtYaHHVLo9Fx8t470E+t2 vnJCCPvvK1xHlIO7A7eQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2Urp-00AvHl-5D; Sat, 18 Jun 2022 09:35:45 +0000 Received: from mail-he1eur04on0613.outbound.protection.outlook.com ([2a01:111:f400:fe0d::613] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o2Url-00AvFw-GN; Sat, 18 Jun 2022 09:35:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bIbI9omGKAHmDYP9T5VbFwJKGToCVoq/6qgydy3bo9Jxe2mgjGYLt/qO5XWPhcdL35GdvloOFiFEN0bUsgd/+DgwwbFONh+csMFLbShFRxqZRrdgFbeXG8MuU0BnRU34BjVO4IRHE1vd2BaaWBD+Zcj8NGu2HSyvuU1+vV+728osRDOhA1O8sYBr6V7De0Yvku1bkkZT0mUuSrqgKRYvAHvPlbuAC1aEbXlT3Bcra2n6xhI3i8qQ8LeFDbCDay3EeIOo2s7h7gvrQYbM8RusDSYRHwWlkL0Jmk/pfTWbD83nGF8kVS6xSd2bPB8ymCDUH7Ito2WBinxM7WLJlH9TVA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=RprVZMswvISUBjJJ45u6eS1AWRSE2VgsPS9xn79qxj4=; b=eZrCsjvQWku4U2UH/BbOz6+dQHw7/q4t1sJCYCkpWdhlBd6Fi0l05PkJENNmEbtovRAZZ25I/5etx57mLDk58rq9AUW7NS8bevkUxWWefvhb/f4pJg/0oAlzWOYFXjx1qNR0D+MW4n0uUcmuwJ3inlFKfMSxTh+q8ptWbnsufHZgtwM7GfayLCjJYylgoHYWYkzf4sygLeiw4ILdzbw555mpwc+KJqR7I58W4DycLsnfrXvKWCho44tomXvEoWUtipOv2NUwxtXt+aW2wdALhIfXxl2/zwazHLMd3ifhSMhcPNie2cGnzS/UDNv9uwFkUZzBaekW74RUcIx0UAOswQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RprVZMswvISUBjJJ45u6eS1AWRSE2VgsPS9xn79qxj4=; b=KHiy98Cm/10ucS8Ic0vO19TqHP/UAEEHLy6+54czG3wPWVjNKj6lhWHU1ljdokXJLebgo0Sjkk0KuLy+Yq5S/tLBe9d3gaPFDCuyiCVDl2bsQyf/CEdVNT0mLAybgA9XprsFyGk0vUYM39xU9yiREuTjEHPcI0KDBE6UmoojRbQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) by AM0PR04MB4209.eurprd04.prod.outlook.com (2603:10a6:208:62::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.18; Sat, 18 Jun 2022 09:20:54 +0000 Received: from AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::3c82:f63b:711a:502]) by AM7PR04MB7046.eurprd04.prod.outlook.com ([fe80::3c82:f63b:711a:502%7]) with mapi id 15.20.5353.018; Sat, 18 Jun 2022 09:20:54 +0000 From: Liu Ying To: linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: kishon@ti.com, vkoul@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com Subject: [PATCH 1/2] dt-bindings: phy: Add Freescale i.MX8qm Mixel LVDS PHY binding Date: Sat, 18 Jun 2022 17:22:00 +0800 Message-Id: <20220618092201.3837791-2-victor.liu@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220618092201.3837791-1-victor.liu@nxp.com> References: <20220618092201.3837791-1-victor.liu@nxp.com> X-ClientProxiedBy: SI2P153CA0012.APCP153.PROD.OUTLOOK.COM (2603:1096:4:140::15) To AM7PR04MB7046.eurprd04.prod.outlook.com (2603:10a6:20b:113::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e08f44e6-6eb0-4092-28c6-08da510bd84b X-MS-TrafficTypeDiagnostic: AM0PR04MB4209:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bKBypqa2LFAtYKbPcg5lVSGk0Rak+XGxX+FD6BvwxZFNAkQTM+OxqCd8sRvgunIsx77G7bk5kVTOGVeimNHJpx8fLP+yIWHkTsobqVPPaqv12TPcOBi0BwbhEQklLVHPyIMQIY0Dbwna/a54QYaxIDLWbaAYtW7LlgUdurnPSxQP3beC58mIIBZ2UYVEuwg1aJzkMTh1rM93h23llw1tAnModYjOPf0h7hSWTn55M7MupZXHEE34guCaWWrm/xVQGNx9faIkUIc6nqQtGdlWhCrRdeABF5qVjWa/k24KSLU5cTL/YR9+TNsp3QZJ/WB34twOPcqYoTDs4t30seBaK3hBZeGDxIWNDxcTkgBsnopgvmqbL6ZDmY7iXAoJ0Wq2v6xMF+9nzC+e73b9j+QF0xx4KoTk4vcSAA079tdWB+LGJIp0ZprvG0ZondXWKxUa9+8NURXBChzXzX+7IZg4sVmr2YjST6pu+4MZI75rbCMxaURpBp86EgB4lTGfgP4vvGiMpN+Godv2nyR+WCPPxFdWwipsvbu+crJ9UKuC1ynRzp17RMVvfBZDHJrUi6sruzazridXsrQUMDdGIS9KZN8BqQtf75CXbGaWKZWD43xYbcWZWyGYM+1eIY8y6ovED3qzDTU+erlKsR19ui4dcGZVT2TbpKbu3A4Fxk6TLxCJogu3nD5mZn+BRgOYo2Dvs1aFLxua9WspmphlGOFU2izDw9MG/VqkaXJUh0ecGi5UNcsSV1VwMLgvmbO7JgwPpP1OVwC4y5JjiD5JjvRtZT0SfABq5zuso5iGkrejgp9umU5UQ7ak4IGRrlDWeOSZ X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM7PR04MB7046.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(366004)(186003)(26005)(1076003)(38350700002)(7416002)(38100700002)(316002)(6512007)(83380400001)(6506007)(2616005)(36756003)(8676002)(6666004)(52116002)(966005)(6486002)(86362001)(2906002)(8936002)(66946007)(4326008)(66556008)(66476007)(5660300002)(498600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: YM4GPTkdg9IJh36iEng2lnK9loY8KlP/kbFLvy5M98Crr8GiaCzagtINwKoxJwUdnJtRgnXuT6ZsORZmb0pOLZJn4LeJ2Dw9MHcLKXBB+tI3KJMUdYYxDPuyxKAzZ11en4fK8J14JtTSCEXBlj7zYgPj3PebreyDUNWAai+yoMnS/ygvKXqwdB6nbIVMdpg2FsWIhzj/0yuFYRIlBlr7r+WWeTWlY+bGzdGgN0EvXbjGA0y7+y5/bwAz/Gmvv2ZeLg6ka20kfxbirHywhv9lJ1si2gpyFDfcTpvfUp9FqFnE8TTglJ6056D48GWSD3umn4/Wmnt63I1Nn7e6Ft+Ri1kFRL2eZfRF+4AJq1ACOyXpHX4Gg6aGMXfjfM1tv6YqbziLOLqHBZ3myK89Rsp77qRkaZ0A2P1xg25GEeSTvohkdAQhzbjVHgA/NjmuI+fjeL8hO5+ySNdd+I8F709ng3ILGAc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or1pJAqbfFOo9U5ob7mgeZ24T5gAdugDr9pTiE5Ow3Hq1B2InHRZ8XpIKDvbdVSTaOtbVyf20urJWUx8/5CQB2uvE5s0ZelfVPFP3hVewV/D21m2+w3NwYrwyrGsWJPI6yyZwEedc04/90mMAqd+gXmiGChv0ry5jT0bH1ArVwP3/LCms1MvdkySrQHMd9UxeyAUOru/+mNVlbQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e08f44e6-6eb0-4092-28c6-08da510bd84b X-MS-Exchange-CrossTenant-AuthSource: AM7PR04MB7046.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jun 2022 09:20:54.4452 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: IFWjDTcz36evyS0KBDW+y5NmD9Oy2ONMblCXiiLUr7k0oGY0vOKWeZt3IMBNFOuAA7CeXCLkggClqDuvXXdyww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4209 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220618_023541_630880_23AE6473 X-CRM114-Status: GOOD ( 14.05 ) 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 This patch adds bindings for Mixel LVDS PHY found on Freescale i.MX8qm SoC. Signed-off-by: Liu Ying --- .../bindings/phy/mixel,lvds-phy.yaml | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/mixel,lvds-phy.yaml diff --git a/Documentation/devicetree/bindings/phy/mixel,lvds-phy.yaml b/Documentation/devicetree/bindings/phy/mixel,lvds-phy.yaml new file mode 100644 index 000000000000..de964ffb9356 --- /dev/null +++ b/Documentation/devicetree/bindings/phy/mixel,lvds-phy.yaml @@ -0,0 +1,64 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/mixel,lvds-phy.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mixel LVDS PHY for Freescale i.MX8qm SoC + +maintainers: + - Liu Ying + +description: | + The Mixel LVDS PHY IP block is found on Freescale i.MX8qm SoC. + It converts two groups of four 7/10 bits of CMOS data into two + groups of four data lanes of LVDS data streams. A phase-locked + transmit clock is transmitted in parallel with each group of + data streams over a fifth LVDS link. Every cycle of the transmit + clock, 56/80 bits of input data are sampled and transmitted + through the two groups of LVDS data streams. Together with the + transmit clocks, the two groups of LVDS data streams form two + LVDS channels. + + The Mixel LVDS PHY found on Freescale i.MX8qm SoC is controlled + by Control and Status Registers(CSR) module in the SoC. The CSR + module, as a system controller, contains the PHY's registers. + +properties: + compatible: + const: fsl,imx8qm-lvds-phy + + "#phy-cells": + const: 1 + description: | + Cell allows setting the LVDS channel index of the PHY. + Index 0 is for LVDS channel0 and index 1 is for LVDS channel1. + + clocks: + maxItems: 1 + + clock-names: + const: phy_ref + + power-domains: + maxItems: 1 + +required: + - compatible + - "#phy-cells" + - clocks + - clock-names + - power-domains + +additionalProperties: false + +examples: + - | + #include + phy { + compatible = "fsl,imx8qm-lvds-phy"; + #phy-cells = <1>; + clocks = <&clk IMX_SC_R_LVDS_0 IMX_SC_PM_CLK_PHY>; + clock-names = "phy_ref"; + power-domains = <&pd IMX_SC_R_LVDS_0>; + };