From patchwork Thu Apr 13 17:31:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Reichel X-Patchwork-Id: 673083 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 6D911C77B71 for ; Thu, 13 Apr 2023 17:32:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229797AbjDMRcB (ORCPT ); Thu, 13 Apr 2023 13:32:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55054 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229582AbjDMRcB (ORCPT ); Thu, 13 Apr 2023 13:32:01 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39AB893CC; Thu, 13 Apr 2023 10:31:56 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-248-212-251.ewe-ip-backbone.de [91.248.212.251]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id 950C9660321F; Thu, 13 Apr 2023 18:31:54 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681407114; bh=T/AFydAD8qKAiQUoV47FnZRg+3UFBMFE5c7vx47gtvk=; h=From:To:Cc:Subject:Date:From; b=jSoLX55V6n5zsWcxs6agqohSKQ28135GG+7jIAA20kzw122zub/pb80Tmdit621L6 SPKqB+L5T1d08tI+YT24JIr6C/gx1zGrThAxuas8uTLTBd20AagDCsYJr8d5HC4TyL BfDygqZZhAh4Vlws2Mqt+abMFapGR5DKUuN+MZmetFP+zpJOC+aO9nqeeuMIILa+l2 TriXAo76I0N7xzl8zH9Eywqordbk+PNpHkevhvVORJcuRtwHOi/vT8anX1VHl3zQrZ yAdwjHsxanYerpybLV0ovmGX7ddtb3W4zysW+/4W4bGXBaZzIzvS9HT8AAZ3d4+J3r VGkz+OyNDL+Jw== Received: by jupiter.universe (Postfix, from userid 1000) id C8D484807E2; Thu, 13 Apr 2023 19:31:51 +0200 (CEST) From: Sebastian Reichel To: Alan Stern , Greg Kroah-Hartman Cc: Rob Herring , Krzysztof Kozlowski , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sebastian Reichel , kernel@collabora.com Subject: [PATCHv4 0/3] generic-ohci/ehci: add RK3588 support Date: Thu, 13 Apr 2023 19:31:47 +0200 Message-Id: <20230413173150.71387-1-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hi, This increases the max. allowed clocks for generic-ohci from 3 to 4. On RK3588 a total of 4 clocks is required to access the OHCI registers. EHCI already supports 4 clocks. Changes since PATCHv3: * https://lore.kernel.org/all/20230406135552.23980-1-sebastian.reichel@collabora.com/ * Fix the PATCH version in the patchset subjects :) * Collect Rob Herrings's Reviewed-by * Drop maxItems = 4 from rockchip,rk3588-ohci = true branch (4 is the default value) * Drop minItems = 1 from rockchip,rk3588-ohci = false branch (1 is the default value) Changes since PATCHv2: * https://lore.kernel.org/all/20230404145350.45388-1-sebastian.reichel@collabora.com/ * Added Krzysztof's Ack to the EHCI binding update * Changed OHCI binding update according to Krzysztof's feedback Changes since PATCHv1: * https://lore.kernel.org/all/20230331163148.5863-1-sebastian.reichel@collabora.com/ * changed cover-letter subject * Add Alan's Acked-by to the driver patch increasing the clock count * Update bindings, adding rockchip,rk3588-ohci and rockchip,rk3588-ehci compatibles -- Sebastian Sebastian Reichel (3): dt-bindings: usb: Add RK3588 OHCI dt-bindings: usb: Add RK3588 EHCI usb: host: ohci-platform: increase max clock number to 4 .../devicetree/bindings/usb/generic-ehci.yaml | 1 + .../devicetree/bindings/usb/generic-ohci.yaml | 16 +++++++++++++++- drivers/usb/host/ohci-platform.c | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-)