From patchwork Thu Apr 28 15:16:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herve Codina X-Patchwork-Id: 12830886 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 1702BC4332F for ; Thu, 28 Apr 2022 15:16:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348947AbiD1PTx (ORCPT ); Thu, 28 Apr 2022 11:19:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348948AbiD1PTx (ORCPT ); Thu, 28 Apr 2022 11:19:53 -0400 Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::224]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30A5BAF1F7; Thu, 28 Apr 2022 08:16:36 -0700 (PDT) Received: (Authenticated sender: herve.codina@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id 3D035E0002; Thu, 28 Apr 2022 15:16:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1651158995; 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=Xx4++H4H07qRaFWCLXjPyhd8z07yHU6qu47SxPJ2nTk=; b=bRWuHYKpBmXDLWGTmxrKlbl0K8wnqqcDg9rtbyuOds0h5kSdlI/HLfObWrUQjiOOj7pWS/ IrxKrfQuxtxIrBbZmTtTfSZ+CJer8Ssv1y/QzxCCQ6ZWq5u+2IjDoQnyrdp7dWS49tYLFr hvIH7vcXyraNVABqvZf3JRMBIn1yLP5qdbhV96fjuOuR9xORhRJjk2MNGdbvGoEQuTU6hJ hnx1XPL0jvZX6yIAJWSRIclfd14jx23psIM2F66FvdtGAZ936iEXZuFEFnROCyHF0oozp5 92LnUnetlULaN1FMCGQN7YGmlJpYwLHlR0g7HEAzx306utmfi2CcwCR7cE8d5Q== 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 v4 0/6] RZN1 USB Host support Date: Thu, 28 Apr 2022 17:16:24 +0200 Message-Id: <20220428151630.586009-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-renesas-soc@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 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