Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1165344iog; Sat, 18 Jun 2022 02:27:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1utH2Re/n0RW1B4nw7YJau6SBtzIam1VX4DkKW9va3Bg0GgmNfOUS1Km9svat4z9Q/2MZTA X-Received: by 2002:a05:6402:3322:b0:42d:f984:92fa with SMTP id e34-20020a056402332200b0042df98492famr17078910eda.106.1655544474849; Sat, 18 Jun 2022 02:27:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1655544474; cv=pass; d=google.com; s=arc-20160816; b=OmsJfVb+wTacY2I2kJhriioxctkKkUZEhnihWUFTKYAQLeTh1M5GEUezSqv4vzM6UJ U00k7nvmiOhZcA5tsQ5sMOFAVLdzR6B/AqFI1mgG+7Mcg21D74NegvjzEUkvauczVqHJ wM9o+E+hYXliblFPdIMTVN6/M4uBJGgNqRTPhhZWa2Zig+ousWA7CriXFoLgtMLABR88 bCeIHJVN4wVPtC0NmbRCL/TEDxi7DyL1ZUPLNJvzio5pxCVNkPTvgrSrfkp5/u5FdbAl OHhfL7TXE6O0DLOUsBXovTu/vLL5/W4LO6U/ZAOCv2GcQwf/Xva9jywV9TRx7ioJCJIK B8wQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=orTU/AI00/zW9or4fIzCB3hq1E+BQbroMLUhVVLi4bk=; b=rHliy+wLB3QM8v0xijYRqUhZQd5SNjj1lnz+QwZBeyhdQaVsTYa4DUlYYqaW6R/doD +bC9s58S9PzRqjLn1szhOBnvs4PAQA41LNkCt1H5IkqJw7zvbY0DEps20DmXcL08VjLS dLWHsdjKxa86cMFwMweFITsCzq0ZKQSgR/mfatDLRlV3lpgwaTX34epc4bW4jXJZfBIf hfx0mnMS4fa6goPa6SbJ6uPol4YvmkRKW2PhGri79sbg8aojtqF+JHJYvOjUxY5Y7v8q pvc3QRCBRgJSykko0HxEQwUs0y6FQ6U/CanZKLz1ZLnX6//6Rfzk5yoeDUwRXLnhMx/z D/bA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=anIYM3re; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b19-20020a170906729300b00711d4c5ebf4si6761375ejl.751.2022.06.18.02.27.27; Sat, 18 Jun 2022 02:27:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=anIYM3re; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232514AbiFRJUz (ORCPT + 99 others); Sat, 18 Jun 2022 05:20:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231927AbiFRJUy (ORCPT ); Sat, 18 Jun 2022 05:20:54 -0400 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130045.outbound.protection.outlook.com [40.107.13.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B7C026129; Sat, 18 Jun 2022 02:20:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HJ9r0WmX7C6rKVIFPHDA1nCi9X4KS6ttILDdp7luKus0ZtHSrSrv9Y7QvJs+Zo0J/FKNfSdJ1eriJpJynsgSC0VDqIDpQPoiInteIuCNRWbRN5h1xUocJt4ZHabJUqnn98PrdG2L0WWrxAXfn1PxebQfd9o05LkyOq0m3CAOU//EuRbdwRFzpqssP3vD/8QmU6uVWB6fGKicVMv4x1JdNLURiyiiRqN2R8h0+If8AKIPzMca8po/uFwToqtzmhvOmYmFO9sK6OlFhA4EWcE1uJlpmJv1B66aM7NyaZg7j3CI186/LXFw6+WVTX7oPWDH8MJEq1ezUwPotE0unxE3kg== 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=orTU/AI00/zW9or4fIzCB3hq1E+BQbroMLUhVVLi4bk=; b=HdBRL2dL1kEzN0hgDHhx+WefQzwZhj3qLLaS4XcUudNTEjICRICqhumGqwyV6syZ4ITZry7lspSclzV7SlVlUCLzqaWbI20Uhaf+gt/SfGV62pX6vrnEzJC5gDSS+dE9noYuZruYr6I5cBTTSY6nJlctHFZLeUR8rWmBSLKW/hjqVkPN56c5Sb01jTLWFmQ0nOWjMMUspAjZJ3mbZ8wCCrZy/RtXskvYYGBee7sehEmaaPCpWwqrcbYj4Cps+8r7dM64EiCQqDKB6VKfZr1JemsQjXo+dJVzUW3dxdn6rePj66jb9quyrOon1ePjxMcLjI2gKNOCt9P6mRFVamkLMw== 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=orTU/AI00/zW9or4fIzCB3hq1E+BQbroMLUhVVLi4bk=; b=anIYM3reGzp2xqU68fhzT2KfiRscxpaNkc17NQXjJwoKVJdPwXaB9B+jVavdPA4PWe7Rb+t8fjSWldqCU18ogDVTFleAGN4KnWRBSpY2zK9660urQAwI9JN2saEAypvz9oWI9Gy+a4oJHqwiCsUu5kv+tS/+bV4/SXJG36xrZ5k= 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:50 +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:50 +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 0/2] phy: freescale: Add i.MX8qm Mixel LVDS PHY support Date: Sat, 18 Jun 2022 17:21:59 +0800 Message-Id: <20220618092201.3837791-1-victor.liu@nxp.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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: dd9b5bb3-1034-4c17-61f6-08da510bd5c7 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: NxkNvX2C23v1Eqc80jV061fAUbKeOFyvxM1UdgGxezyXoqUAE9SzjUt6jJooTX8nGyCBaUSDZemXIPs7Mywr5zA0HSDy1WeC3dXHGwmTxT06+qWpm6f4i39Fo08nQw1rV2J9sQ56J3ldT/gFzksz6OrVRX76sq9onrkeX3BbB3OH6Oxs63AwzVGpR8vXXIobyu0sUcplLQz2nzZdswGZPM3n/iwFF3ad+O5sYvow0283Xh1Bf34S9eJfMaEmDPDENUW3VmJVMGbNwV8JDSW1qiFNXvTT7p1nYNiUQA1Jd1L466rZH0LUdNMFHC6oJEKdJAJEsL5uk8pI+sG2uOLegr0AIlpQxvvY7GoJH/GGxpvaEnJYLx/GXM1DDT1m/IlmzQRI9ivXq+zBGTMBejCZ3ZLugcFsoKevd8t5HErHMDURxRotlJwDA0JqSA9e+pvOCdtNNHoCn4XYoVzgv3VO5HTeZyCi8hiLyTekfmDKAyqvpc4qgWLXY2XOH5aRsiKD0eBs5hGy0EXRNoqML0rHfaQeI6sSy5kC8/FhHpfCJ1Xh9qo3mbJjCPEaT5yPNbajqXMpvPa9EbcKwIw8XweajCTf2Owe9mmKSnSxksBkQI08a9vGjpAoCKguJxOx0Wbg7MjRFaCr1Mzg9e3duz6dbQQSyJ55jXA4tHB3fWqsiebR8ZvF9jFlb30fq1r4jmiRPQlzQi0rEBUK1JzRDt4+Fg== 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)(52116002)(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: =?us-ascii?Q?5qLdTEdHRXHnnVAG6+f+OVpBKAoTsnOP5yTRU7MQKC2D+qQ1yzZW2XYuQRQb?= =?us-ascii?Q?BR546dnekJKF+6YkhUYHeMB2GNM5MamNqwIer9EIgvZNYP+pnv28w8uO/ASh?= =?us-ascii?Q?Ks09Tcm8UYaUuHceU9h85GngDVpa1ARH6iM082dyp86ATX233Vo33KD+rtoB?= =?us-ascii?Q?CX3VjxurpuNFuH/BcOn7Mh/9qZVnzY3ySHEMAAz3uYEHIeXFUv+TgV+CKycd?= =?us-ascii?Q?hFMXjG6SnnKRAfRvJq6/LDAUax1DXAby0/WmVbqP5Qt12TKKCJAwoG3irnzD?= =?us-ascii?Q?sB094vVYTIld14kLI69qPSiOMeHahlrtfk6/PNNWfYJ0hAPnB2/YpDCVcK0v?= =?us-ascii?Q?2A4/ZlEx8aAzxyVVoAHRoNR+g0Yu2ay7P6Q2k/2iZNE9VK198nKurpkHLAR+?= =?us-ascii?Q?RBvmg/kHvXDZQlmwizRz3ovE/sMIfMSvbgTMNUgRjvVpZi2ReegkkqvynivK?= =?us-ascii?Q?m1Y1PeQ2AjG6mRvYSHZl4iIlT+cXZw5AiA9qFG2ygFitWp9Pjn3GNB/tWbnu?= =?us-ascii?Q?KBxWzy5Iou3UAnOLdHXJP8bTuYaS6xnrOR40lKO4IKiMFA6IPctnPssA8S4N?= =?us-ascii?Q?hQDHIR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pXFw+jR7qo5stoh6U?= =?us-ascii?Q?7LEXzrnxznT2X8V5hjsxTL1FrNrIjbMtNSc9pB+kE2rgYwF/eyg/otUOOOED?= =?us-ascii?Q?bsOW+1uj56PqmaFb1QgY3KnduTEDjF5NplbvNblGMRGBIZlJDWDnCzMZhlYx?= =?us-ascii?Q?UHhn1Sal/RU+i7Df1MPqQgZrIZs4G0xM1xQWNXs/tFWFFKQQ27nH6GxPoJoI?= =?us-ascii?Q?TX+SKUMgGwxCW7EFzXp4HNk+j6fwi9v0/Yy+k2FV7Jsx83MWogTOqZM6sChb?= =?us-ascii?Q?SbF+99YPMg=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dd9b5bb3-1034-4c17-61f6-08da510bd5c7 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:50.3980 (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: 09xV1yZQiDo/cMC9MAeiuQ80vhF8nTRG164VLF5bTYFN1KoebvPtj8rcC8E8N3R6jz3ZE1pfsgsmzx+tggGX0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4209 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series aims to add Freescale i.MX8qm LVDS PHY driver andi dt-binding support. The PHY IP is from Mixel, Inc. The PHY IP supports two LVDS PHYs, thus two LVDS channels. Each LVDS PHY may work by itself to support a LVDS display device. When two LVDS PHYs are enabled simultaneously, PHY configurations and reference clock rate have to be the same since there is only one set of PHY registers. In this case, the two LVDS PHYs are usually used to support a dual LVDS link display device, one as master PHY and the other as slave PHY. Patch 1/2 adds dt-binding for the PHY IP. Patch 2/2 adds PHY driver support. Liu Ying (2): dt-bindings: phy: Add Freescale i.MX8qm Mixel LVDS PHY binding phy: freescale: Add i.MX8qm Mixel LVDS PHY support .../bindings/phy/mixel,lvds-phy.yaml | 64 +++ drivers/phy/freescale/Kconfig | 9 + drivers/phy/freescale/Makefile | 1 + .../phy/freescale/phy-fsl-imx8qm-lvds-phy.c | 448 ++++++++++++++++++ 4 files changed, 522 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/mixel,lvds-phy.yaml create mode 100644 drivers/phy/freescale/phy-fsl-imx8qm-lvds-phy.c -- 2.25.1