Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp6486497pxu; Thu, 24 Dec 2020 03:47:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJwXtINYgPlQYPAf2cG6yBgOGeLmqy1mrO+ONFW8W8ghY6qKOAIcD4ViTyhzBViUVHIp5t9g X-Received: by 2002:a17:906:1a01:: with SMTP id i1mr28361020ejf.315.1608810444428; Thu, 24 Dec 2020 03:47:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608810444; cv=none; d=google.com; s=arc-20160816; b=jZpKD7Ka76dMU9tFomSvUc8JDTpOX2jU1iCLoSajVbDwofk0Ko1xwQomlMBLU2kbKa 2OJYRipbVmRy/CT0EqZ0GXletA+edQaSwXzXqQROJ/yV3RlfM+wIoAwNtsZPECU+Px2R JjU50MvZHwQt1CrcUmbTKy5XWUu9PqfsGiqVx+n/bDTdJwIZrR78thWaneyT49WdftnN D9xNVAYTHMho6cihTqL1lR0V0ja5Hq5UCqPjzw7vTD4v0501tOdo/zEvJaytLESeJzo3 2CRjWW/f9QVpZ9AzCtRw3yMdRERA+JUDTgoV3Cvz1iz0Vz9rYDPd13nAPQGl4u0j6SI6 /MaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=rr0cE6DzyCJbOPZIqV/X2xnqfFA6IzKfeSOb7Pm7xXU=; b=xIAwdeQznsO8FHWwL5f7AR0T8npoJIBe/jYtoUhlhcYXr8PGb+WByGs8MeTZBR8vua rrSwVoSAIW+PceUyNxvmjVJcDejHQby6wQmWrMGAMNjOUcUldkEdmLPx+WV0vJHUx7Tj OR0fq5PDvHVGKoYQmE9cXQWgomomRGvbeVm1HJ4GFbbojcP1Pr1iOLBF9mojk3YwOulp mqHhrYj+BrbrtEerty2JMqxXS6+n6aZVw1PdA/FeGSJqRggED5aK4Cstv6oW5DrpA28D JBoivFH9xJPGLepzW9mjczZyw6FtOySstD1rXMhgvDYKRX4kJdaBvQhZ58W/Ps/XiZzC ioAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=T4HIZJv6; 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 w29si15104948edl.176.2020.12.24.03.47.02; Thu, 24 Dec 2020 03:47:24 -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=T4HIZJv6; 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 S1728530AbgLXLop (ORCPT + 99 others); Thu, 24 Dec 2020 06:44:45 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:39634 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726609AbgLXLoo (ORCPT ); Thu, 24 Dec 2020 06:44:44 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0BOBh1Ln083251; Thu, 24 Dec 2020 05:43:01 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1608810181; bh=rr0cE6DzyCJbOPZIqV/X2xnqfFA6IzKfeSOb7Pm7xXU=; h=From:To:CC:Subject:Date; b=T4HIZJv6X+CKyBt7Mxkxm5OElrnXrnviEtOxSV8iDQrdhxjidXbkYV3mev4EE6BAJ zvbLbkQRq1eCyYn+hEA9vZgQCtkueurDC+WKsgxkhD4kSHYEsouhjOiYlhQDk5U0JZ as71RzX3J5dSIERJdxpjauBMnrpewQReaztYCD30= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0BOBh150126212 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 24 Dec 2020 05:43:01 -0600 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Thu, 24 Dec 2020 05:43:00 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Thu, 24 Dec 2020 05:43:00 -0600 Received: from a0393678-ssd.dal.design.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 0BOBgtwT026267; Thu, 24 Dec 2020 05:42:56 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Nishanth Menon , Swapnil Jakhade , Peter Rosin CC: , , Subject: [PATCH 0/7] AM64: Add SERDES bindings and driver support Date: Thu, 24 Dec 2020 17:12:43 +0530 Message-ID: <20201224114250.1083-1-kishon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 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 AM64 uses the same SERDES as in J7200, however AM642 EVM doesn't have a clock generator (unlike J7200 base board). Here the clock from the SERDES has to be routed to the PCIE connector. This series adds support to drive reference clock output from SERDES and also adds SERDES (torrent) and SERDES wrapper (WIZ) bindings. Kishon Vijay Abraham I (7): dt-bindings: phy: ti,phy-j721e-wiz: Add bindings for AM64 SERDES Wrapper dt-bindings: phy: ti,phy-j721e-wiz: Add binding for phy_en_refclk dt-bindings: phy: cadence-torrent: Add binding for refclk driver dt-bindings: ti-serdes-mux: Add defines for AM64 SoC phy: ti: j721e-wiz: Configure full rate divider for AM64 phy: ti: j721e-wiz: Enable reference clock output in cmn_refclk_

phy: cadence-torrent: Add support to drive refclk out .../bindings/phy/phy-cadence-torrent.yaml | 17 ++ .../bindings/phy/ti,phy-j721e-wiz.yaml | 23 ++- drivers/phy/cadence/phy-cadence-torrent.c | 158 ++++++++++++++++++ drivers/phy/ti/phy-j721e-wiz.c | 158 +++++++++++++++++- include/dt-bindings/mux/ti-serdes.h | 4 + 5 files changed, 354 insertions(+), 6 deletions(-) -- 2.17.1