Message ID | 20231119121340.109025-1-knaerzche@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp1618023vqn; Sun, 19 Nov 2023 04:14:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IH1frgglTveXWh5q3+Aj5m7NGvzKE75cqCcO8SjWNtYNtfZemuZBa2EfywxX9u+M1sJ2v6A X-Received: by 2002:a05:6808:1310:b0:3b5:84b0:6be6 with SMTP id y16-20020a056808131000b003b584b06be6mr7225014oiv.47.1700396040315; Sun, 19 Nov 2023 04:14:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700396040; cv=none; d=google.com; s=arc-20160816; b=yy7Zqp2G1awPLuO+9Ftm5wglzLogXkvba14lZXCFjB1usYc6AS9qC/ieE+mZKF7xFc 36DRs+QvIOXTxu40R0FA6Ykg3gAMnKoQ4QVxD6Gx2Gc70QvPiKNV4XDvDE/rKrXBAGtN FJE9TfEhCnw4JhYU53/+67qJMxKvKqm9t/O+WATXPmF65cPaeF+cCotcwoEHvXN2grZM XIbLUgvFZRMcroHFntnb/oZyhktexvjxEw0vox35sRDUfim+XpE/06uB58h2P3vxGRLg tsyuSRSZGcQqL7s74Wa235fcTbciG76AFWQdb9PT2leWOdG5AaVu2vg8hpfN6ttHD6YD 26VA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=3Ux1krw1PHmoCa/GU7rGP+Vf9Jy9ZS7rUudcxtdu5Y4=; fh=3c05EM7y/ThSNZYLT+OahXewG3DU+rs7cnMigf4CTME=; b=lu6ij89T62THI9DfotHx5yMSiPsF4jHTdcNeGtsFSuIIM6CXfHOys6ITRKtIZ7gZKg 0rn0mYhuyIGgEy6ZTEPcccjMVOyvHja/dj/hGy+qb6zJXkLn88Nzcx6pEwu1/F/YosYi zgYA1W/wujWWxwoIkqqfvhR2yYMddNobcnrjH7NpFp6btq1xdkrZmZE+sLvfnuijczPj YzmhLoS1PWr8/fiBZ8J1gTQe1eYCJJdPkJMsA/rFLfRvFictrjjZvgHAB6RjVd73tBs1 y2e8qu1ZKyNKN2RVPzcvhHVsIlP8duTtcIo2n9QMQCfcnQy/aX80uWb0Mtz3HnNqB/S9 Gg8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eeBQagop; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id bw12-20020a056a02048c00b005b2d044af30si6858438pgb.480.2023.11.19.04.13.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 04:14:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=eeBQagop; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id E99648092C92; Sun, 19 Nov 2023 04:13:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230470AbjKSMNv (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Sun, 19 Nov 2023 07:13:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229454AbjKSMNt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 19 Nov 2023 07:13:49 -0500 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9991A11D; Sun, 19 Nov 2023 04:13:44 -0800 (PST) Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-53e08b60febso4962118a12.1; Sun, 19 Nov 2023 04:13:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700396023; x=1701000823; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3Ux1krw1PHmoCa/GU7rGP+Vf9Jy9ZS7rUudcxtdu5Y4=; b=eeBQagopUpzIF66V5M/MUQI1zr2biYID9C7h+tmxRUEWX1AdJt9GW7aZk0zqD8FXgN 4t3Js4T5LMaGZ3T+reFzwu4BzmHG5BsW/b57PidWgjwfqrglSOEQ0SR1MpDKflLkzkCi IDZ7HaGjMBocgLkcwrEVZMLvcel4ZbrONqv6Qg87LU4EHxLraWI3+zvQ71rPVOgBVXHw jeW1GOX9H5ang7bzg6GV5dy+gD4WlXjC7HQnZ0YYzLQ9Y7RRgxBdWoLsEvy6+gd5lg4R 8owe/DnEpVz2T9AIeZCye6gM4t49PhKU49wG/btP7TYu0829X5MssSS15OEAWhGBij6l DSHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700396023; x=1701000823; 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=3Ux1krw1PHmoCa/GU7rGP+Vf9Jy9ZS7rUudcxtdu5Y4=; b=RANBQeFjjN/mwZB1Ec9Eokt0G5Dr8rnky3yT8h6aDtOJs5RomTR3gQanpBDCuNJHCB N+H8+d42W3xKLcHl5jh0AnuYpMIrXsgNWOem8rIcpeqKeTZh8hqEQ6NIWudTDI0h20zH WroAn4BgLUp5g1kl3ROrzvTu7BKHMjwAVAhcXv6hGO16dCrKcgEmrQz8crQfPI7gj/S4 SDdc91g2sOr+I8Blh4Zedi3znz3PpRlk5/iA5BIY/vnpeidllLvb3CpOS088cozAJoaj GG7JB+62GGikMYQ4ZGZwKBLF73JZt7NiTp037lyxmhNIe+8sx/6CTczjZ2mXjaf+q53c Jn1Q== X-Gm-Message-State: AOJu0Yy5Ks7LyJ1r6/GmAQWXJhNvPCSNfKxmTCtjLtw6Y/+iX+d30agA Z6WVgOwY3xqgNnjbhDKCnBx9NsW19Q== X-Received: by 2002:aa7:c454:0:b0:543:f90:b956 with SMTP id n20-20020aa7c454000000b005430f90b956mr3469757edr.35.1700396022988; Sun, 19 Nov 2023 04:13:42 -0800 (PST) Received: from U4.lan ([2a02:810b:f40:4300:7017:f42c:e243:8c57]) by smtp.gmail.com with ESMTPSA id r5-20020a056402018500b0053dec545c8fsm2523634edv.3.2023.11.19.04.13.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 04:13:42 -0800 (PST) From: Alex Bee <knaerzche@gmail.com> To: Vinod Koul <vkoul@kernel.org>, Kishon Vijay Abraham I <kishon@kernel.org>, Heiko Stuebner <heiko@sntech.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, Alex Bee <knaerzche@gmail.com> Subject: [PATCH v3 0/5] Add USB support for RK3128 Date: Sun, 19 Nov 2023 13:13:35 +0100 Message-ID: <20231119121340.109025-1-knaerzche@gmail.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 19 Nov 2023 04:13:55 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782994478308431992 X-GMAIL-MSGID: 1782994478308431992 |
Series |
Add USB support for RK3128
|
|
Message
Alex Bee
Nov. 19, 2023, 12:13 p.m. UTC
While interestingly the DT-binding for the Innosilicon usb phy found in RK3128 SoC exists already and it is exposed in the SoC DT, it has never been added to the driver. This patch-set adds support for this early version of the phy and does some DT-fixups in order to make the 2-port host/otg phy and the respective controllers work. Please see commit messages of the individual patches for details. Changes in v3: - rebased on linux-next - added phy-tuning callback for RK3128 - moved parent clock assignment of SCLK_USB480M to the phy node Alex Bee (5): phy: rockchip-inno-usb2: Split ID interrupt phy registers phy: phy-rockchip-inno-usb2: Add RK3128 support ARM: dts: rockchip: Add USB host clocks for RK3128 ARM: dts: rockchip: Add dwc2 otg fifo siztes for RK3128 ARM: dts: rockchip: Make usbphy the parent of SCLK_USB480M for RK3128 arch/arm/boot/dts/rockchip/rk3128.dtsi | 7 + drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 156 ++++++++++++++---- 2 files changed, 134 insertions(+), 29 deletions(-)
Comments
On Sun, 19 Nov 2023 13:13:35 +0100, Alex Bee wrote: > While interestingly the DT-binding for the Innosilicon usb phy found in > RK3128 SoC exists already and it is exposed in the SoC DT, it has never > been added to the driver. > This patch-set adds support for this early version of the phy and does > some DT-fixups in order to make the 2-port host/otg phy and the respective > controllers work. > > [...] Applied, thanks! [3/5] ARM: dts: rockchip: Add USB host clocks for RK3128 commit: 759d6bd9ef94f0e658202947d44b939c6e3ed363 [4/5] ARM: dts: rockchip: Add dwc2 otg fifo siztes for RK3128 commit: 4b12245e59efea81e19d1aa118f6f835b3e27b3a [5/5] ARM: dts: rockchip: Make usbphy the parent of SCLK_USB480M for RK3128 commit: fd610e604837936440ef7c64ab6998b004631647 The rk3128 binding and the phys is already defined in the binding and devicetree, so I've picked up these, as they're independent of the phy changes themself. Best regards,
On Sun, 19 Nov 2023 13:13:35 +0100, Alex Bee wrote: > While interestingly the DT-binding for the Innosilicon usb phy found in > RK3128 SoC exists already and it is exposed in the SoC DT, it has never > been added to the driver. > This patch-set adds support for this early version of the phy and does > some DT-fixups in order to make the 2-port host/otg phy and the respective > controllers work. > > [...] Applied, thanks! [1/5] phy: rockchip-inno-usb2: Split ID interrupt phy registers commit: 2fda59099462ee700e424ba3ac928d13ad6389a8 [2/5] phy: phy-rockchip-inno-usb2: Add RK3128 support commit: 62ff41017e147472b07de6125c3be82ce02a8dd7 Best regards,