From patchwork Sat Aug 19 03:17:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 13358476 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 9080AEE499C for ; Sat, 19 Aug 2023 03:18:03 +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: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=vGNkzjI44fA5mGHU0OxrIA1SaHl8Sa7KVQh6PTyXoXA=; b=rkei19zVbQqP8f 0Fstd1l7r5z6YT3Oyfno4bFRjkmYbetUnm81pXtvoFbD00Iq1i89/H3/66gDagO2k6/OLyNhpleCn Km2lgLSSr+kzj35MfdaFXD5aaBVvRu1g5vnZC2e5eqIZTqWrNHHdbOT8U/hBSVxggE8UbcbAYq6Hf MI940HGz3UrpYqODvh4d3hey4twY2SZWYz0jyx5iWpcwYwpd1GkLdtjZmeyQTF0AO9hOuBCDR/2tQ hnwPpRTY0C4+80ZznWgNO8R7uY9qe1edYsSQf0WTZL7cSyA0ieqVdPmaBaW3PTlIZBD3uzeXM31OW 4C6nCzbWZHiTlkfS2Kmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qXCTA-00AKh1-2k; Sat, 19 Aug 2023 03:17:44 +0000 Received: from mail-oo1-xc2c.google.com ([2607:f8b0:4864:20::c2c]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qXCT1-00AKcS-13 for linux-arm-kernel@lists.infradead.org; Sat, 19 Aug 2023 03:17:37 +0000 Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-570b6f82301so4909eaf.0 for ; Fri, 18 Aug 2023 20:17:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692415052; x=1693019852; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=2Q7Mi/sRAGm8lhYDAZVLrk5zgyos5NQEy7qr6AIL6DU=; b=UbhUG+mLPhnobKlykd6gqCDeeDq8gYEW1q5+RAqlhFXRpBNUiy//H6n0gEWJqpVrcH 28aRiT4idt5ZYLJBqPU5B2RE2A4MdKUbCIxdO4K/hrpuGv1rzWLUtNJL7dpeflV4nmTN r3ofwS0Wmef5p09OdV++XIPPcuWVLFnxW8LWpQUU8zuQ1+d8SOn43mO9XUJCEw2UtP9L Z1clpoHaYrlluHt6sKzRuUU3MjQymbq7PUdqzd61X0Ps3CYbs4I7YMHgenuCsv6BXnbe YQeYciSH3dB2FnzHwE+5apWRLTKzYLELeJ66GSe1rSbaeQOhKNHA0dkmDWhHgd0XdABW z96g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692415052; x=1693019852; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2Q7Mi/sRAGm8lhYDAZVLrk5zgyos5NQEy7qr6AIL6DU=; b=ctVl14ElVFR0YnqNAlwIzvRtCvzqdFbvFRi7Gv+sl0iRsngwpa3ZwGI23MOBYx5tj3 wpQfu1fk5sRf0PqrjLUxNsObQrHJVVUsHXKbGWhH0edTm0YrAC4J6qJZBsBav8cRw9Mi BmhJdhbs4EjcjnIqztCtcphFNPDQrHio8voeXtVEhkS0pTAdPZxeib6g724UckSeXOQ+ XDmWoW0SZjQ9EJ1dQnCppNOj0VWR5P8DLI3lFEr2JlBhoO82SBrM2zVwLPtJvWr6DZZ5 3uta/qeCs0J9mF8n4el96k2Cm6ft/RVKtpwTa4FciUfeZz8DBcKRBwTgy8M41/xOY2F4 KQDA== X-Gm-Message-State: AOJu0YzrP1ipkNOQT3Y8Hw9Vh9W6dlTnYgjHgKhQ8sra46S3yiBFmzxg M7hCP7SIutJf3oCA18dY6wuMsg== X-Google-Smtp-Source: AGHT+IFVUmkUoC3QURVVvQmtTQIMGCKsvM2bNgWNvvFiOc8n9HKAZXjCVFIJolRC3nL5ZZHZ4ysstQ== X-Received: by 2002:a4a:654e:0:b0:56e:4ee2:9189 with SMTP id z14-20020a4a654e000000b0056e4ee29189mr1647457oog.5.1692415052465; Fri, 18 Aug 2023 20:17:32 -0700 (PDT) Received: from localhost ([136.49.140.41]) by smtp.gmail.com with ESMTPSA id v7-20020a4a8c47000000b0054fba751207sm1494141ooj.47.2023.08.18.20.17.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Aug 2023 20:17:31 -0700 (PDT) From: Sam Protsenko To: Krzysztof Kozlowski , Rob Herring , Thinh Nguyen Cc: JaeHun Jung , Marek Szyprowski , Sylwester Nawrocki , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Greg Kroah-Hartman , Alim Akhtar , Marc Kleine-Budde , Heiko Stuebner , linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 0/8] arm64: exynos: Enable USB for E850-96 board Date: Fri, 18 Aug 2023 22:17:23 -0500 Message-Id: <20230819031731.22618-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230818_201735_380687_9CCCC81C X-CRM114-Status: GOOD ( 10.72 ) 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 This patch series enables USB gadget, USB host and Ethernet support for E850-96 board. The most major change was done in USB PHY driver, as the register layout of PHY block in Exynos850 is very different from Exynos5 one. Sam Protsenko (8): dt-bindings: usb: samsung,exynos-dwc3: Add Exynos850 support dt-bindings: phy: samsung,usb3-drd-phy: Add Exynos850 support usb: dwc3: exynos: Add support for Exynos850 variant phy: exynos5-usbdrd: Make it possible to pass custom phy ops phy: exynos5-usbdrd: Add 26MHz ref clk support phy: exynos5-usbdrd: Add Exynos850 support arm64: dts: exynos: Enable USB in Exynos850 arm64: dts: exynos: Enable USB support on E850-96 board .../bindings/phy/samsung,usb3-drd-phy.yaml | 1 + .../bindings/usb/samsung,exynos-dwc3.yaml | 16 ++ .../boot/dts/exynos/exynos850-e850-96.dts | 58 ++++++ arch/arm64/boot/dts/exynos/exynos850.dtsi | 30 +++ drivers/phy/samsung/phy-exynos5-usbdrd.c | 182 +++++++++++++++++- drivers/usb/dwc3/dwc3-exynos.c | 9 + 6 files changed, 294 insertions(+), 2 deletions(-)