From patchwork Fri Mar 11 21:03:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Wunderlich X-Patchwork-Id: 12778579 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 smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 94C20C433EF for ; Fri, 11 Mar 2022 21:04:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) id 5F8DBC340EC; Fri, 11 Mar 2022 21:04:29 +0000 (UTC) Received: from mxout2.routing.net (mxout2.routing.net [134.0.28.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.kernel.org (Postfix) with ESMTPS id 35136C340E9; Fri, 11 Mar 2022 21:04:26 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.kernel.org 35136C340E9 Authentication-Results: smtp.kernel.org; dmarc=none (p=none dis=none) header.from=fw-web.de Authentication-Results: smtp.kernel.org; spf=pass smtp.mailfrom=fw-web.de Received: from mxbox1.masterlogin.de (unknown [192.168.10.88]) by mxout2.routing.net (Postfix) with ESMTP id B06455FD39; Fri, 11 Mar 2022 21:04:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1647032658; 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=dqoouwB8fBLOnpT8CCz+WpgKrPdobpaCbLTnMi6n0lU=; b=iPcsVWFSj21ZM3iK3XmjYgxqSVjaj9ZH8UYoNzMLz40zFttSNLDigs1B4DbQrnU15I3Nbt 55djBEwWjJM6s1fFBehC8r5ghWNox79S2wetCsnmx4zNx+KLWgQO26pAjp0c7moO7bMPGh juiPmVMDo9zhwpBsxZnQgaUBMeSaLvs= Received: from localhost.localdomain (fttx-pool-217.61.144.196.bambit.de [217.61.144.196]) by mxbox1.masterlogin.de (Postfix) with ESMTPSA id 3A602402CA; Fri, 11 Mar 2022 21:04:17 +0000 (UTC) From: Frank Wunderlich To: devicetree@vger.kernel.org List-Id: Cc: Frank Wunderlich , Damien Le Moal , Rob Herring , Krzysztof Kozlowski , Viresh Kumar , Shiraz Hashim , soc@kernel.org, Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Russell King , Heiko Stuebner , Peter Geis , Michael Riesch , Hans de Goede , Jens Axboe , linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: [PATCH v6 0/6] Add sata nodes to rk356x Date: Fri, 11 Mar 2022 22:03:51 +0100 Message-Id: <20220311210357.222830-1-linux@fw-web.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Mail-ID: c2271224-4634-4d57-8dd2-2e15f21c9f88 From: Frank Wunderlich This Series converts the binding for ahci-platform to yaml and adds sata nodes to rockchip rk356x device trees. --- v6: - add fix for spear1340 - fix indentation of examples - add compatible marvell,berlin2-ahci - change maximum of ports-implemented - add select to exclude qcom compatibles - drop marvell,armada-380-ahci it is not handled in the ahci-platform.c but ahci_mvebu.c and incompatible due to missing phys/target-supply v5: DTS: - drop broadcom-patch as it is already applied - add fix for marvell YAML: - change subject - drop brcm,iproc-ahci from standalone enum - fix reg address in example 2 - move clocknames next to clocks, regnames to reg - drop interrupts description - drop newline from dma-coherent - drop max-items from ports-implemented - min2max in child phys - fix identation for compatible and sata-common - add additionalProperties=false for subnodes - pipe for paragraphs and newline after title - add maximum for ports-implemented (found only 0x1 as its value) - add phy-names to sata-ports v4: YAML binding: - fix min vs. max - fix indention of examples - move up sata-common.yaml - reorder compatible - add descriptions/maxitems - fix compatible-structure - fix typo in example achi vs. ahci - add clock-names and reg-names DTS-Patches: - drop newline in dts - re-add clock-names - add soc specific compatible - fix sata nodename in arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi v3: - add conversion to sata-series - fix some errors in dt_binding_check and dtbs_check - move to unevaluated properties = false - add power-domain to yaml - move sata0 to rk3568.dtsi - drop clock-names and interrupt-names Frank Wunderlich (6): dt-bindings: ata: ahci-platform: Convert DT bindings to yaml arm64: dts: marvell: Fix anyOf conditional failed ARM: dts: spear13xx: Fix sata node name dt-bindings: ata: ahci-platform: Add power-domains property dt-bindings: ata: ahci-platform: Add rk3568-dwc-ahci compatible arm64: dts: rockchip: Add sata nodes to rk356x .../devicetree/bindings/ata/ahci-platform.txt | 79 -------- .../bindings/ata/ahci-platform.yaml | 189 ++++++++++++++++++ arch/arm/boot/dts/spear1310.dtsi | 6 +- arch/arm/boot/dts/spear1340-evb.dts | 2 +- arch/arm/boot/dts/spear1340.dtsi | 2 +- .../arm64/boot/dts/marvell/armada-7040-db.dts | 1 + .../boot/dts/marvell/armada-7040-mochabin.dts | 2 + .../marvell/armada-8040-clearfog-gt-8k.dts | 1 + .../arm64/boot/dts/marvell/armada-8040-db.dts | 2 + .../boot/dts/marvell/armada-8040-mcbin.dtsi | 1 + .../dts/marvell/armada-8040-puzzle-m801.dts | 2 + arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 2 + arch/arm64/boot/dts/marvell/cn9130-crb-B.dts | 1 + arch/arm64/boot/dts/marvell/cn9131-db.dtsi | 1 + arch/arm64/boot/dts/marvell/cn9132-db.dtsi | 1 + arch/arm64/boot/dts/rockchip/rk3568.dtsi | 14 ++ arch/arm64/boot/dts/rockchip/rk356x.dtsi | 28 +++ 17 files changed, 250 insertions(+), 84 deletions(-) delete mode 100644 Documentation/devicetree/bindings/ata/ahci-platform.txt create mode 100644 Documentation/devicetree/bindings/ata/ahci-platform.yaml