From patchwork Mon May 17 06:17:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 12260861 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C60EC433B4 for ; Mon, 17 May 2021 06:21:47 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 2DCD9610FC for ; Mon, 17 May 2021 06:21:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2DCD9610FC Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References:List-Owner; bh=l6vbO0Tnydnlv/tJSJwSXWFL9+wbw4/9eHWOHyKW99g=; b=bYC156WkjHPIa9VK5mrWR5i4IQ WIAiZeCUy69MDktm8WpLWpFKkZYhb6SBNPsvNYde//d7YGcE5WLGmBUIWv+q6HK6Yixyk6lBEV9cH rhRdQ5MukdzuJ9xqo7MnkkY6vrE52i15R0PYl6GowdU5yIrEU8fcjd+uqLwRUpxanVEAciOZENmBM e0xNdBG91MHbK/xpWlwOkChtLS95oJfmDPMsKqiINT1FSRG0+Yf1jfiU02j9fmUAgH+e/LcWhiSqO XMeArY2hsiSkAAB6G1/59er7cxurKDuWCA+wawDOIOIryZrsSqYWeujuGa4w15vHhTQTxPRgTy2t4 j3osDpXw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liWbI-00DqqX-0W; Mon, 17 May 2021 06:19:36 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liWZr-00DqUW-UG for linux-arm-kernel@desiato.infradead.org; Mon, 17 May 2021 06:18:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=SDy+mnfmS0zKcFkEdHEEL45qbIDVtBWBDcD0aecXM/E=; b=SsDrHm28zVpl/UXTl+Du91T7x9 X+XU5HTtaCCykaRcpVXtWj/NV5P5hkmuP6kCbiBMHrDMLwsYf9EBkM9E7prbw1dzyLeZ1VnPrRMfP vhxDoui7I1AdKwaWc23OPtMX34+ouvSvxLYJjB2n60dSq91Lkwmdzf2WPJK6BSyVcQDsmnuAPNmK7 InLftJ98Guj0N0pB+vvO7tph8bRKawkohgbW4keJqfCAExtdbM8U/GTPCuPFL889+p0CfCkBilQvv Iep2lBl4mPtEa+LJuZYlOhUO2bR3hm5+brPOT/nhVglxX+kWqNaqoU/SQREUXb5nbNoNILCxVhZDz G99aAOsQ==; Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liWZp-00DVLo-9F for linux-arm-kernel@lists.infradead.org; Mon, 17 May 2021 06:18:06 +0000 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 14H6HxAK040787; Mon, 17 May 2021 01:17:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1621232279; bh=SDy+mnfmS0zKcFkEdHEEL45qbIDVtBWBDcD0aecXM/E=; h=From:To:CC:Subject:Date; b=xDplRIH1aJieI5+yu06WOxMS5LSKiw/nEsUSVmnCfcQ8ssjqQ9IBYTwLWQnQYlX5s AxazjwmLLAY6xfLbsW9k0ebCHuN0kS+ropoqH/EBLFp9v7CYc1zOj/ppxOOH7o0Pku jAJ0xZAXlDkGfi+6bJdS4xSTQ8vFcc1dBSIp+F0I= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 14H6HxGt096264 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 17 May 2021 01:17:59 -0500 Received: from DLEE100.ent.ti.com (157.170.170.30) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Mon, 17 May 2021 01:17:58 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Mon, 17 May 2021 01:17:58 -0500 Received: from a0393678-ssd.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 14H6Hpl0003911; Mon, 17 May 2021 01:17:53 -0500 From: Kishon Vijay Abraham I To: Nishanth Menon , Tero Kristo , Rob Herring CC: , , , Kishon Vijay Abraham I , Lokesh Vutla , Subject: [PATCH v2 0/6] AM64: EVM/SK: Enable PCIe and USB Date: Mon, 17 May 2021 11:47:33 +0530 Message-ID: <20210517061739.5762-1-kishon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210516_231805_465590_7A717560 X-CRM114-Status: UNSURE ( 8.73 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org AM642 EVM has one PCIe slot (no USB slot) and AM642 SK has one USB slot (no PCIe slot). AM64 SoC has one SERDES module which can be used by either PCIe or USB. Add DT nodes to represent and enable SERDES/PCIe/USB modules in EVM/SK. Changes from v1: 1) Add a patch to convert reg-mux DT bindings to YAML 2) Use generic names for clock node names 3) Remove redundant status = "okay" for serdes_wiz0 Kishon Vijay Abraham I (6): dt-bindings: mux: Convert reg-mux DT bindings to YAML arm64: dts: ti: k3-am64-main: Add SERDES DT node arm64: dts: ti: k3-am64-main: Add PCIe DT node arm64: dts: ti: k3-am642-evm: Enable PCIe and SERDES arm64: dts: ti: k3-am642-sk: Enable USB Super-Speed HOST port arm64: dts: ti: k3-am642-sk: Disable PCIe .../bindings/mux/mux-controller.txt | 113 ++++++++++++++- .../devicetree/bindings/mux/reg-mux.txt | 129 ------------------ .../devicetree/bindings/mux/reg-mux.yaml | 47 +++++++ arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 102 ++++++++++++++ arch/arm64/boot/dts/ti/k3-am642-evm.dts | 30 ++++ arch/arm64/boot/dts/ti/k3-am642-sk.dts | 43 ++++++ 6 files changed, 334 insertions(+), 130 deletions(-) delete mode 100644 Documentation/devicetree/bindings/mux/reg-mux.txt create mode 100644 Documentation/devicetree/bindings/mux/reg-mux.yaml