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: 13358466 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1488AEE49A7 for ; Sat, 19 Aug 2023 03:18:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244889AbjHSDR4 (ORCPT ); Fri, 18 Aug 2023 23:17:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244645AbjHSDRe (ORCPT ); Fri, 18 Aug 2023 23:17:34 -0400 Received: from mail-oo1-xc33.google.com (mail-oo1-xc33.google.com [IPv6:2607:f8b0:4864:20::c33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B6884216 for ; Fri, 18 Aug 2023 20:17:33 -0700 (PDT) Received: by mail-oo1-xc33.google.com with SMTP id 006d021491bc7-570b6f82301so4908eaf.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=ludcBgkLZuGjdOPNpVHWlbXVlxdNkxTFqjXjxHwpyj9ufDz/iNG0a1HSXtsMRdgA5y UMC/K7iYSNmXgKt4BlSFzY6QA923G7j2YRfP0hSW92ULBz31J4JnNATVTvTw4u15e2VB pt9Ay8graCOLmzH4h7DKwqLjO2xv9reiuSMpKzIvxHfVrodKjtx5EjYXNQaQFOEuLeFy A72nFBOpRWtUOB5LOiOTUENbFhWipb1g3WH6QPv2IeRkjPUPTR42IKYjbVIDYUgi4EmC OGw2WXkj7rEf/vt4bWH0xuXEY8I+thXLvUXSnqnYhpfwwZdcioNsB6zqJQkS2xg4IZD9 P9NQ== X-Gm-Message-State: AOJu0YxmiQW2MIORZO8On8Ig1EA9XBE54yt3bRLXwuTY61ERnF+CEdmk Ti4ycvRHpQhIC9Zz2OSMf14hCA== 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 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.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(-)