Message ID | 20240501-usb-phy-gs101-v2-0-ed9f14a1bd6d@linaro.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 63F0BC4345F for <linux-arm-kernel@archiver.kernel.org>; Wed, 1 May 2024 09:20:15 +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:Cc:To:MIME-Version:Message-Id:Date: Subject: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=r8msw2CEk9oZQF5nRyhmzxoHgJahLN1rcFifdQUhoGw=; b=i50vb9acrmXnEO 5HW6fTRq7HrVfXTAN7fFLYmDKWKb80Oh50kISe5moGua56kDbjaQTy/eugEriZABPj/OJs2gHk5ER 3JLWA2X+Ftz+9VTKMdFU1Tapb/YbpvAPm8HG2imxRESef9btsRNFdtaHasJxM1HJdS2/jgD3gNZf2 3rRcmPGTR3xU0G49f3veTURwU2cqBnPFDFU3IofSeYD6JqWGMynuQ3AUBh26b3lPOTyetwHaOLh0J NTQaM3p8nIRiaN9ktlo6dni/xT1exzYsGCj+hnuX+2J6bTLBmEwNg6RTdVFy6mYTDDYIjMbt6t2oX xJ8fudHNg+3hkqKn3QQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s268B-00000008wtH-0rgy; Wed, 01 May 2024 09:20:03 +0000 Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s267s-00000008wiU-123P for linux-arm-kernel@lists.infradead.org; Wed, 01 May 2024 09:19:48 +0000 Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a58d0aea14cso649707066b.2 for <linux-arm-kernel@lists.infradead.org>; Wed, 01 May 2024 02:19:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714555177; x=1715159977; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=IU5666ZgVnJUhWYrIKpU1fyu97lInGaK9ybimnvX8Wc=; b=fd78Dg4EvgJ+mdTI8Qfs2fjdEd7rhBJ2SYN0M+FQj1PotqDjqYaAYRaPSfsJpijqCK jviF/z6+GJEZnRlOYRXKfNcYlNDMOoHK/8Vj3uB1ZEUvCUyD1GTlnct3bkCcH0pYiIHn 2POqI3dbDmubyuDsdt88z+eTdeI012u2GtdmI3VqZWKH3OcDMTbpiaocH5jg7PjGMBJt B8geNADsRq77eigSJTBUc7bslm5tSBX8wphDss6RGWLYEBCSDwYyYUDfgHO7/b5pAF48 ImpBX8pyaUSSTFybPB7jNmO70plk8oJT3jzLSdFQ7uBrmh1opOZjgF7zsgcGMldNHUgv mTWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714555177; x=1715159977; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IU5666ZgVnJUhWYrIKpU1fyu97lInGaK9ybimnvX8Wc=; b=XQFqeVs2SueZx4wXKc/q1NAy1fOxvxwLP1FRRX8tcJSgJcs6f2do9URWdeeXnBvLfV +2I0MI9dMhc/Z9mkOWs3Th4aDWw+kGo2+ekjfPWviaSe3U4BWZOVR1i+Nr5v+P+lCcTm hJSNinaRPV+RZvwvCztNv9QVbY/LstcSngP9LFcAl3v4r63PXWpsJ6FMdMrByo0P8e6W aeykSwHGUNKC1og3zV/3lCTX3vsvlMq5USIIx6cTShAGLDwVhcW1AXGpYfNe+Jf8lVhv k0ShfDymhve/zMOyIBWmzCKaSWZGJ65PQXg7aVRy1KN10aMykqv8Oc7R2lONOKaqJsjB LxmQ== X-Forwarded-Encrypted: i=1; AJvYcCWYI5xFWG5EUqILUiTbR++LoT85mhV21W6Ta7DrGyGBnseCdTjPmo2jeX3yQPPQHP7yj/dwiBShfo9R02PcxoMUxb6oZsGiLNZ54eKBsqrUgeUUFTI= X-Gm-Message-State: AOJu0Yzrxk0L7McXJlpMt+BMr42dgdytU3X4rAhghOUDKZt+vHzXqTRm rA22LaadHcc2wcx+Y187ugEw6aPlc+J7h4J6TxIw51knpFkXqigNJQLZJrUNh30= X-Google-Smtp-Source: AGHT+IH/Ba7QbLPRPS+XzgPny6nXWZgsA7cIv4uu6lM0q2mhIikp9GNHF5bwt9YwZT+naZcTk3Cmgw== X-Received: by 2002:a17:906:2c16:b0:a51:982e:b3f7 with SMTP id e22-20020a1709062c1600b00a51982eb3f7mr1404669ejh.37.1714555177187; Wed, 01 May 2024 02:19:37 -0700 (PDT) Received: from puffmais.c.googlers.com (8.239.204.35.bc.googleusercontent.com. [35.204.239.8]) by smtp.gmail.com with ESMTPSA id bw13-20020a170906c1cd00b00a58de09fd92sm5425674ejb.27.2024.05.01.02.19.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 02:19:36 -0700 (PDT) From: =?utf-8?q?Andr=C3=A9_Draszik?= <andre.draszik@linaro.org> Subject: [PATCH v2 0/7] USB31DRD phy support for Google Tensor gs101 (HS & SS) Date: Wed, 01 May 2024 10:19:35 +0100 Message-Id: <20240501-usb-phy-gs101-v2-0-ed9f14a1bd6d@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIACcJMmYC/3XMywrCMBCF4Vcps3YkkwQKrnwP6SKXaTogTUm0W Erf3di9y//A+XaoXIQr3LodCq9SJc8t9KWDMLk5MUpsDVppq6w2+K4el2nDVEkROj8apl5HChb aZyk8yuf0HkPrSeorl+3kV/qt/6SVUCH7GLxxgXob70+ZXcnXXBIMx3F8Aa6V3tGrAAAA To: Vinod Koul <vkoul@kernel.org>, Kishon Vijay Abraham I <kishon@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Peter Griffin <peter.griffin@linaro.org>, Marek Szyprowski <m.szyprowski@samsung.com>, Sylwester Nawrocki <s.nawrocki@samsung.com>, Alim Akhtar <alim.akhtar@samsung.com>, Sam Protsenko <semen.protsenko@linaro.org> Cc: Krzysztof Kozlowski <krzk@kernel.org>, Tudor Ambarus <tudor.ambarus@linaro.org>, Will McVicker <willmcvicker@google.com>, Roy Luo <royluo@google.com>, kernel-team@android.com, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Arnd Bergmann <arnd@arndb.de>, lee@kernel.org, =?utf-8?q?Andr=C3=A9_Draszi?= =?utf-8?q?k?= <andre.draszik@linaro.org> X-Mailer: b4 0.12.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240501_021944_321813_A8DC477B X-CRM114-Status: GOOD ( 14.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
USB31DRD phy support for Google Tensor gs101 (HS & SS)
|
expand
|
This patch series adds support for the Exynos USB 3.1 DRD combo phy, as found in Exynos 9 SoCs like Google GS101. It supports USB SS, HS and DisplayPort, but DisplayPort is out of scope for this series. In terms of UTMI+, this is very similar to the existing Exynos850 support in this driver. The difference is that it supports both UTMI+ (HS) and PIPE3 (SS). Firstly, there are some preparatory patches to simplify addition, while the bulk of the changes is around the SS part. This version doesn't change anything around Krzysztof's comments regarding syscon- vs Exynos-specific PMU APIs, but I wanted to post a version with at least the simple fixes that are necessary as well applied. Signed-off-by: André Draszik <andre.draszik@linaro.org> --- Changes in v2: - avoid having nested else/if in the DT binding (Rob) - add missing bitfield.h include - Link to v1: https://lore.kernel.org/r/20240423-usb-phy-gs101-v1-0-ebdcb3ac174d@linaro.org --- André Draszik (7): dt-bindings: phy: samsung,usb3-drd-phy: add gs101 compatible phy: exynos5-usbdrd: use exynos_get_pmu_regmap_by_phandle() for PMU regs phy: exynos5-usbdrd: support isolating HS and SS ports independently phy: exynos5-usbdrd: set ref clk freq in exynos850_usbdrd_utmi_init() phy: exynos5-usbdrd: uniform order of register bit macros phy: exynos5-usbdrd: convert to clk_bulk for phy (register) access phy: exynos5-usbdrd: support Exynos USBDRD 3.1 combo phy (HS & SS) .../bindings/phy/samsung,usb3-drd-phy.yaml | 61 +- drivers/phy/samsung/Kconfig | 1 - drivers/phy/samsung/phy-exynos5-usbdrd.c | 754 +++++++++++++++++++-- include/linux/soc/samsung/exynos-regs-pmu.h | 4 + 4 files changed, 756 insertions(+), 64 deletions(-) --- base-commit: d04466706db5e241ee026f17b5f920e50dee26b5 change-id: 20240423-usb-phy-gs101-abf3e172d1c4 Best regards,