From patchwork Fri Apr 29 13:41:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 12832032 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 97CE5C433EF for ; Fri, 29 Apr 2022 13:41:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351766AbiD2NpJ (ORCPT ); Fri, 29 Apr 2022 09:45:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236729AbiD2NpJ (ORCPT ); Fri, 29 Apr 2022 09:45:09 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F2DFC8BD9; Fri, 29 Apr 2022 06:41:50 -0700 (PDT) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id CF7581BF20D; Fri, 29 Apr 2022 13:41:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1651239709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=gDnDcKW8Xd1x45ET4ZAmwfvhffariZ4uKWPW/9uCw84=; b=aOn6dmhqDzFGukbOL4KWOinf8tSpn+jtKr1DDoiVQe0g/EYFqjMJQky4SD8qA6K87fNDhM L25IRmIjsU4WspSZkssvsTkqLL9+eyW+2qpgkscon8h/7Y3+HpWbQbg4Ascr+KbORkMvyx fUCnzNGubCnaNoLSnkPDXNWRw9hYXckW78VMdYosJ9k9QVb3S/fpLe7JRD8o5e15jeJ0IP EDLHKSFFVLkyn9JScclKAghiBZu0TtHO+9QVYEZUR1T7SkDigdx2i4XeWCG/T4YM498nKT OkxwFDAXGJiiwzGY98PDu72ODK3pB97QxAz7iOrbmakAWFOwK7zhzESVKdQvYg== From: Herve Codina To: Marek Vasut , Yoshihiro Shimoda , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy?= =?utf-8?q?=C5=84ski?= Cc: Rob Herring , linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Sergey Shtylyov , Thomas Petazzoni , Clement Leger , Miquel Raynal , Herve Codina Subject: [PATCH v5 0/6] RZN1 USB Host support Date: Fri, 29 Apr 2022 15:41:36 +0200 Message-Id: <20220429134143.628428-1-herve.codina@bootlin.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Hi, This series add support for the USB Host controllers available on RZN1 (r9a06g032) SOC. These USB Host controllers are PCI OHCI/EHCI controllers located behind a bridge. Regards, Herve Changes v2: - Convert bindings to json-schema - Update clocks description - Remove unneeded '.compatible = "renesas,pci-r9a06g032"' Changes v3: - Remove the unneeded patch that calls clk_bulk_prepare_enable() - Rework the device tree binding (conversion from .txt and RZ/N1 support) - Use the RZ/N1 SOCs family only in the driver match compatible string. - Enable PM and PM_GENERIC_DOMAIN for RZ/N1 and add the missing '#power-domain-cells' in sysctrl node. Changes v4: - Remove patches related to PM enable and #pwower-domain-cells as they will be handle out of this series. - Add Bob's reviewed-by on patch 1 - Add Geert's reviewed by on patch 1 and 6 - Rename clocks and make the 'resets' property optional on RZ/N1 family - Reword some commit logs and titles - Fix dst node location (sort by node names or unit addresses) - Fix the USB PHY node name Changes v5: - Rename clocks ("usb_" prefix removed) - Add Geert's reviewed-by on patch 2, 3, 4 and 5 Herve Codina (6): dt-bindings: PCI: pci-rcar-gen2: Convert bindings to json-schema dt-bindings: PCI: renesas,pci-rcar-gen2: Add device tree support for r9a06g032 PCI: rcar-gen2: Add RZ/N1 SOCs family compatible string ARM: dts: r9a06g032: Add internal PCI bridge node ARM: dts: r9a06g032: Add USB PHY DT support ARM: dts: r9a06g032: Link the PCI USB devices to the USB PHY .../devicetree/bindings/pci/pci-rcar-gen2.txt | 84 -------- .../bindings/pci/renesas,pci-rcar-gen2.yaml | 188 ++++++++++++++++++ arch/arm/boot/dts/r9a06g032.dtsi | 47 +++++ drivers/pci/controller/pci-rcar-gen2.c | 1 + 4 files changed, 236 insertions(+), 84 deletions(-) delete mode 100644 Documentation/devicetree/bindings/pci/pci-rcar-gen2.txt create mode 100644 Documentation/devicetree/bindings/pci/renesas,pci-rcar-gen2.yaml