Message ID | 20231122-ep93xx-v5-0-d59a76d5df29@maquefel.me |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp1190076vqb; Wed, 22 Nov 2023 01:06:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHlcQAoXbDoX1lqYrEUqj1ZUcGcym+638vT5w/8OoyT8JRycaoIBN6HrxXp/sfvdiy76UEs X-Received: by 2002:a17:902:f683:b0:1cf:6768:5a11 with SMTP id l3-20020a170902f68300b001cf67685a11mr1925172plg.22.1700643979825; Wed, 22 Nov 2023 01:06:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700643979; cv=none; d=google.com; s=arc-20160816; b=p5JHrL3N2buaPUsqM9m+434NrM8Z715M61Q78kUs+nPJDxkyqCyHv1XVaplIRyqgwj WAj9EA+MhNlsa+Y/bspMtyU813GX28Y9OSEXIL8kUUqY/6Sp+7SVNLqrMW8Wk4E6ld1K u6q028YuKsyQ1Z+q9PZg0UdBOaA1vw/Ja5ptgi9VIwL7Tdawsd20/+KfStqU6XBVS7vk jR8n80bWZYSdxdnvL8RAO5QA5eYqrTJOuOGXGW23zFt6jGPfvwBxnOnsWyLJFuzRR6Mz kBQDK+9rpxZ2m4s6MeO86Mi8rrIZPFlNbbpk5Pv4hy618eBVqTtk25dLU1nXs20cwMzY Ojqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:reply-to:cc:to:content-transfer-encoding :mime-version:message-id:date:subject:from:dkim-signature; bh=UehqAvBcw0+m5oO/tyuj8PJwR8O/Pg5OMptxegB6BQs=; fh=u3TPeNRF/LtCh3dD079/Z6NFQF0Bj5xEIb+JbeUtjy0=; b=en2rh8Z3hZySM1Af1WQyZ1w2yJA0ZJWRYL8WtM1d6FAUoGC/4xK4UwOizYkyB3PRWK FNSuwKPH+h44s5Km97ntTFpUGMkeZzdfjbR2bgZ9tioYux5Oc+V1Ka/dIWrz76vh60oh poxoXT8dB1a9aUw2tNI9nEYnBVSEF/b2mZw/G3dJOz8ppsXDlGOo5Q8DhSwXEt+EXRlp UQJn+1ahQceYA5HTzeMS8qdjidD/DMM0ViTuilIQK9ckN9CNnLC2wfq3QdAb9Qhlzibu HO4ByKP9EG1mu6sj1j71rlWpPqIvPrdE9geD7BkWN+MGRT7MHDLnM17Yy85Xg8h/SWgl DIgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Ayx/+bGr"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id n18-20020a170902e55200b001cf652c9461si5359586plf.290.2023.11.22.01.06.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 01:06:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="Ayx/+bGr"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id ED8328056493; Wed, 22 Nov 2023 01:01:27 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343501AbjKVJBW (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Wed, 22 Nov 2023 04:01:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235056AbjKVJBT (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 22 Nov 2023 04:01:19 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9121E7 for <linux-kernel@vger.kernel.org>; Wed, 22 Nov 2023 01:01:14 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPS id 5BC97C433C8; Wed, 22 Nov 2023 09:01:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700643674; bh=YfNv2uqY6jpXX11dkmdghWjVP3xVlwDVv4WSgO4lXlc=; h=From:Subject:Date:To:Cc:Reply-To:From; b=Ayx/+bGrAJUPf+yY5cuaPfWUunuWfvHEmP5+Fx79GgB++9kLuLvhBmBtYlZ+Pqhqi lDZQ3RVU0ZLJ3wE3cW8QFodWbgHSi2tk4MGOqNsQweY2IrEG7VdHIgf6cKUhJncoxw IXHhliLrVE/CLsNvzIpw1jSA9M2RQ8/NBxHn7Jfg6DnuW9yIH7bVKs1oUn9CCtnEux cYmX/wq+hGZ/BaM+pCppDibaMlwu8/lB0R48OEzAS6u4Rkd+mr94O+fqa/rj9tyZ5l zM959Dolc6PPjrE+BWIbQh3iina1qtAy5xr4RRzJpL729OQtItBmt+g5pSiE4+8iqA Pia9UvTydOr1g== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2BD1CC072A2; Wed, 22 Nov 2023 09:01:14 +0000 (UTC) From: Nikita Shubin via B4 Relay <devnull+nikita.shubin.maquefel.me@kernel.org> Subject: [PATCH v5 00/39] ep93xx device tree conversion Date: Wed, 22 Nov 2023 11:59:38 +0300 Message-Id: <20231122-ep93xx-v5-0-d59a76d5df29@maquefel.me> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAPrCXWUC/2WOy27DIBBFfyVi3bEYxo86q/5H1QWGcUGtcQqO5 SjyvweysaIur+aeM/cuEkfPSZxPdxF59cnPIYfm7SSM0+GbwduchZKKZCsb4EtP2wYSTdcSdqy sErk86MQwRB2MK/VJp4VjOVwij357fvj8ynmM8wSLi6wPb61qVNQoVeE7SQUIwf/4RVfJXQcfP ib9d+WRf6uJi9L5tMzx9ty8UhH/m7cSSCDbkm5GREn84ig71voAezzAOoMabdf11rBB+Qru+/4 A1KSSfTMBAAA= To: Hartley Sweeten <hsweeten@visionengravers.com>, Alexander Sverdlin <alexander.sverdlin@gmail.com>, Russell King <linux@armlinux.org.uk>, Lukasz Majewski <lukma@denx.de>, Linus Walleij <linus.walleij@linaro.org>, Bartosz Golaszewski <brgl@bgdev.pl>, Andy Shevchenko <andy@kernel.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Sebastian Reichel <sre@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Nikita Shubin <nikita.shubin@maquefel.me>, Vinod Koul <vkoul@kernel.org>, Wim Van Sebroeck <wim@linux-watchdog.org>, Guenter Roeck <linux@roeck-us.net>, Thierry Reding <thierry.reding@gmail.com>, =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>, Mark Brown <broonie@kernel.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Miquel Raynal <miquel.raynal@bootlin.com>, Richard Weinberger <richard@nod.at>, Vignesh Raghavendra <vigneshr@ti.com>, Damien Le Moal <dlemoal@kernel.org>, Sergey Shtylyov <s.shtylyov@omp.ru>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, Liam Girdwood <lgirdwood@gmail.com>, Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com> Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-clk@vger.kernel.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, dmaengine@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-pwm@vger.kernel.org, linux-spi@vger.kernel.org, netdev@vger.kernel.org, linux-mtd@lists.infradead.org, linux-ide@vger.kernel.org, linux-input@vger.kernel.org, linux-sound@vger.kernel.org, Bartosz Golaszewski <bartosz.golaszewski@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Andrew Lunn <andrew@lunn.ch>, Andy Shevchenko <andy.shevchenko@gmail.com> X-Mailer: b4 0.13-dev-e3e53 X-Developer-Signature: v=1; a=ed25519-sha256; t=1700643671; l=13702; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=YfNv2uqY6jpXX11dkmdghWjVP3xVlwDVv4WSgO4lXlc=; =?utf-8?q?b=3D4eixXzQUKlt8?= =?utf-8?q?ITFwAedShd7qdEmN09LtXIKl7HWExNvqe/7ceFqkOAeix/b0l58dyI5YUbJscfsL?= LwbWvPmsCefF8yqWMXjfBacsxfCG0W4TFAEDrqSbo+yd3j6RUV7B X-Developer-Key: i=nikita.shubin@maquefel.me; a=ed25519; pk=vqf5YIUJ7BJv3EJFaNNxWZgGuMgDH6rwufTLflwU9ac= X-Endpoint-Received: by B4 Relay for nikita.shubin@maquefel.me/20230718 with auth_id=65 X-Original-From: Nikita Shubin <nikita.shubin@maquefel.me> Reply-To: <nikita.shubin@maquefel.me> X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 22 Nov 2023 01:01:28 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783254461834905370 X-GMAIL-MSGID: 1783254461834905370 |
Series |
ep93xx device tree conversion
|
|
Message
Nikita Shubin via B4 Relay
Nov. 22, 2023, 8:59 a.m. UTC
This series aims to convert ep93xx from platform to full device tree support. The main goal is to receive ACK's to take it via Arnd's arm-soc branch. Bit thanks to Krzysztof Kozlowski for his zero-day review. Krzysztof, Sergey, i've changed some files that you have already provided tag: - dt-bindings: spi: Add Cirrus EP93xx - ata: pata_ep93xx: add device tree support Added DMA and renamed clock header file. Sergey, Damien, i've changed some files that you have already provided tag: - ata: pata_ep93xx: add device tree support Added OF DMA setup and dropped platform file. Mark, i've changed some files that you have already provided tag: - spi: ep93xx: add DT support for Cirrus EP93xx Added OF DMA setup and dropped platform file. Major updates: - reboot, pinctrl, clk are now auxiliary and instantiated from SoC driver as Stephen Boyd suggested - i moved all clock code to clk-ep93xx.c, as it no longer has a separate dt node, so XTALI is externalk for this driver and passed as index 0, and pll1, pll2 are internal and passed via pointer for parent_data - reboot bindings dropped - pinctrl and clk bindings moved to syscon YAML - xlate added for DMA, so now all DMA users use it via device tree, otherwise probe order messed up and we might end up probing before DMA with no possibility to defer probing - DMA port bindings dropped, they are described in YAML file - DMA platform code dropped - i2s, spi, pata now use OF DMA - YAML and dtsi/dts changed to reflect auxiliary conversion and DMA changes Patches should be now formated with '--patience' --- Changes in v5: - gpio: ep93xx: split device in multiple - ordered headers - use irqd_to_hwirq() - s/platform_get_irq()/platform_get_irq_optional()/ - [PATCH v4 02/42] ARM: ep93xx: add swlocked prototypes - replaced with ARM: ep93xx: add regmap aux_dev - [PATCH v4 03/42] dt-bindings: clock: Add Cirrus EP93xx - fixed identation - removed EP93XX_CLK_END - and dropped it - clock bindings moved to syscon with renaming to cirrus,ep9301-syscon.h - clk: ep93xx: add DT support for Cirrus EP93xx - convert to auxiliary and use parent device tree node - moved all clocks except XTALI here - used devm version everywhere and *_parent_hw() instead of passing name where it's possible - unfortunately devm_clk_hw_register_fixed_rate doesn't have a parent index version - [PATCH v4 05/42] dt-bindings: pinctrl: Add Cirrus EP93xx - "unevaluatedProperties: false" for pins - returned "additionalProperties: false" where it was - and dropped it - pinctrl: add a Cirrus ep93xx SoC pin controller - sorted includes - convert to auxiliary and use parent device tree node - power: reset: Add a driver for the ep93xx reset - convert to auxiliary device - dt-bindings: soc: Add Cirrus EP93xx - dropped all ref to reboot, clk, pinctrl subnodes - added pins, as it's now used for pinctrl - added #clock-cells, as it's now used for clk - dt-bindings: pwm: Add Cirrus EP93xx - $ref to pwm.yaml - fixed 'pwm-cells' - s/additionalProperties/unevaluatedProperties/ - soc: Add SoC driver for Cirrus ep93xx - removed clocks, they are moved to clk auxiliary driver, as we dropped the clk dt node - removed all swlocked exported functions - dropped static spinlock - added instantiating auxiliary reboot, clk, pinctrl - dt-bindings: spi: Add Cirrus EP93xx - Document DMA support - spi: ep93xx: add DT support for Cirrus EP93xx - dropped CONFIG_OF and SPI/DMA platform data entirely - s/master/host/ - reworked DMA setup so we can use probe defer - dt-bindings: dma: Add Cirrus EP93xx - dropped bindings header (moved ports description to YAML) - changed '#dma-cells' to 2, we use port, direction in cells so we can drop platform code completely - dma: cirrus: add DT support for Cirrus EP93xx - dropped platform probing completely - dropped struct ep93xx_dma_data replaced with internal struct ep93xx_dma_chan_cfg with port/direction - added xlate functions for m2m/m2p - we require filters to set dma_cfg before hw_setup - dt-bindings: ata: Add Cirrus EP93xx - Document DMA support - ata: pata_ep93xx: add device tree support - drop DMA platform header with data - use DMA OF so we can defer probing until DMA is up - ARM: dts: add Cirrus EP93XX SoC .dtsi - ARM: dts: ep93xx: add ts7250 board - ARM: dts: ep93xx: Add EDB9302 DT - replaced "eclk: clock-controller" to syscon reference - replaced "pinctrl: pinctrl" to syscon reference - gpios are now "enabled" by default - reworked i2s node - change all dma nodes and refs - new additions to I2S - Document DMA - Document Audio Port usage - drop legacy DMA support - Link to v4: https://lore.kernel.org/r/20230915-ep93xx-v4-0-a1d779dcec10@maquefel.me Changes in v4: - gpio: ep93xx: split device in multiple - s/generic_handle_irq/generic_handle_domain_irq/ - s/int offset/irq_hw_number_t offset/ though now it looks a bit odd to me - drop i = 0 - drop 'error' - use dev_err_probe withour printing devname once again dt-bindings: clock: Add Cirrus EP93xx - renamed cirrus,ep93xx-clock.h -> cirrus,ep9301-clk.h clk: ep93xx: add DT support for Cirrus EP93xx - drop unused includes - use .name only for xtali, pll1, pll2 parents - convert // to /* - pass clk_parent_data instead of char* clock name dt-bindings: pinctrl: Add Cirrus EP93xx - s/additionalProperties/unevaluatedProperties/ dt-bindings: soc: Add Cirrus EP93xx - move syscon to soc directory - add vendor prefix - make reboot same style as pinctrl, clk - use absolute path for ref - expand example soc: Add SoC driver for Cirrus ep93xx - s/0xf0000000/GENMASK(31, 28)/ - s/ret/ep93xx_chip_revision(map)/ - drop symbol exports - convert to platform driver dt-bindings: rtc: Add Cirrus EP93xx - allOf: with $ref to rtc.yaml - s/additionalProperties/unevaluatedProperties/ dt-bindings: watchdog: Add Cirrus EP93x - drop description - reword power: reset: Add a driver for the ep93xx reset - lets use 'GPL-2.0+' instead of '(GPL-2.0)' - s/of_device/of/ - drop mdelay with warning - return 0 at the end net: cirrus: add DT support for Cirrus EP93xx - fix leaking np mtd: nand: add support for ts72xx - +bits.h - drop comment - ok to fwnode_get_next_child_node - use goto to put handle and nand and report error ARM: dts: add Cirrus EP93XX SoC .dtsi - add simple-bus for ebi, as we don't require to setup anything - add arm,pl011 compatible to uart nodes - drop i2c-gpio, as it's isn't used anywhere ARM: dts: ep93xx: add ts7250 board - generic node name for temperature-sensor - drop i2c - move nand, rtc, watchdog to ebi node - Link to v3: https://lore.kernel.org/r/20230605-ep93xx-v3-0-3d63a5f1103e@maquefel.me --- Alexander Sverdlin (3): ASoC: ep93xx: Drop legacy DMA support ARM: dts: ep93xx: Add EDB9302 DT ASoC: cirrus: edb93xx: Delete driver Nikita Shubin (36): gpio: ep93xx: split device in multiple ARM: ep93xx: add regmap aux_dev clk: ep93xx: add DT support for Cirrus EP93xx pinctrl: add a Cirrus ep93xx SoC pin controller power: reset: Add a driver for the ep93xx reset dt-bindings: soc: Add Cirrus EP93xx soc: Add SoC driver for Cirrus ep93xx dt-bindings: dma: Add Cirrus EP93xx dma: cirrus: add DT support for Cirrus EP93xx dt-bindings: watchdog: Add Cirrus EP93x watchdog: ep93xx: add DT support for Cirrus EP93xx dt-bindings: pwm: Add Cirrus EP93xx pwm: ep93xx: add DT support for Cirrus EP93xx dt-bindings: spi: Add Cirrus EP93xx spi: ep93xx: add DT support for Cirrus EP93xx dt-bindings: net: Add Cirrus EP93xx net: cirrus: add DT support for Cirrus EP93xx dt-bindings: mtd: Add ts7200 nand-controller mtd: rawnand: add support for ts72xx dt-bindings: ata: Add Cirrus EP93xx ata: pata_ep93xx: add device tree support dt-bindings: input: Add Cirrus EP93xx keypad input: keypad: ep93xx: add DT support for Cirrus EP93xx dt-bindings: wdt: Add ts72xx wdt: ts72xx: add DT support for ts72xx gpio: ep93xx: add DT support for gpio-ep93xx ASoC: dt-bindings: ep93xx: Document DMA support ASoC: dt-bindings: ep93xx: Document Audio Port support ARM: dts: add Cirrus EP93XX SoC .dtsi ARM: dts: ep93xx: add ts7250 board ARM: ep93xx: DT for the Cirrus ep93xx SoC platforms pwm: ep93xx: drop legacy pinctrl ata: pata_ep93xx: remove legacy pinctrl use ARM: ep93xx: delete all boardfiles ARM: ep93xx: soc: drop defines dma: cirrus: remove platform code .../bindings/arm/cirrus/cirrus,ep9301.yaml | 38 + .../bindings/ata/cirrus,ep9312-pata.yaml | 42 + .../bindings/dma/cirrus,ep9301-dma-m2m.yaml | 84 ++ .../bindings/dma/cirrus,ep9301-dma-m2p.yaml | 144 ++ .../bindings/input/cirrus,ep9307-keypad.yaml | 87 ++ .../devicetree/bindings/mtd/technologic,nand.yaml | 45 + .../devicetree/bindings/net/cirrus,ep9301-eth.yaml | 59 + .../devicetree/bindings/pwm/cirrus,ep9301-pwm.yaml | 53 + .../bindings/soc/cirrus/cirrus,ep9301-syscon.yaml | 83 ++ .../bindings/sound/cirrus,ep9301-i2s.yaml | 16 + .../devicetree/bindings/spi/cirrus,ep9301-spi.yaml | 70 + .../bindings/watchdog/cirrus,ep9301-wdt.yaml | 42 + .../bindings/watchdog/technologic,ts7200-wdt.yaml | 45 + arch/arm/Makefile | 1 - arch/arm/boot/dts/cirrus/Makefile | 4 + arch/arm/boot/dts/cirrus/ep93xx-bk3.dts | 126 ++ arch/arm/boot/dts/cirrus/ep93xx-edb9302.dts | 182 +++ arch/arm/boot/dts/cirrus/ep93xx-ts7250.dts | 145 ++ arch/arm/boot/dts/cirrus/ep93xx.dtsi | 442 ++++++ arch/arm/mach-ep93xx/Kconfig | 20 +- arch/arm/mach-ep93xx/Makefile | 11 - arch/arm/mach-ep93xx/clock.c | 733 ---------- arch/arm/mach-ep93xx/core.c | 1017 -------------- arch/arm/mach-ep93xx/dma.c | 114 -- arch/arm/mach-ep93xx/edb93xx.c | 344 ----- arch/arm/mach-ep93xx/ep93xx-regs.h | 38 - arch/arm/mach-ep93xx/gpio-ep93xx.h | 111 -- arch/arm/mach-ep93xx/hardware.h | 25 - arch/arm/mach-ep93xx/irqs.h | 76 -- arch/arm/mach-ep93xx/platform.h | 42 - arch/arm/mach-ep93xx/soc.h | 212 --- arch/arm/mach-ep93xx/timer-ep93xx.c | 143 -- arch/arm/mach-ep93xx/ts72xx.c | 422 ------ arch/arm/mach-ep93xx/ts72xx.h | 94 -- arch/arm/mach-ep93xx/vision_ep9307.c | 311 ----- drivers/ata/pata_ep93xx.c | 106 +- drivers/clk/Kconfig | 8 + drivers/clk/Makefile | 1 + drivers/clk/clk-ep93xx.c | 855 ++++++++++++ drivers/dma/ep93xx_dma.c | 292 +++- drivers/gpio/gpio-ep93xx.c | 345 ++--- drivers/input/keyboard/ep93xx_keypad.c | 74 +- drivers/mtd/nand/raw/Kconfig | 7 + drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/technologic-nand-controller.c | 223 +++ drivers/net/ethernet/cirrus/ep93xx_eth.c | 63 +- drivers/pinctrl/Kconfig | 7 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-ep93xx.c | 1433 ++++++++++++++++++++ drivers/power/reset/Kconfig | 10 + drivers/power/reset/Makefile | 1 + drivers/power/reset/ep93xx-restart.c | 81 ++ drivers/pwm/pwm-ep93xx.c | 26 +- drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/cirrus/Kconfig | 13 + drivers/soc/cirrus/Makefile | 2 + drivers/soc/cirrus/soc-ep93xx.c | 247 ++++ drivers/spi/spi-ep93xx.c | 68 +- drivers/watchdog/ep93xx_wdt.c | 8 + drivers/watchdog/ts72xx_wdt.c | 8 + include/dt-bindings/soc/cirrus,ep9301-syscon.h | 46 + include/linux/platform_data/dma-ep93xx.h | 94 -- include/linux/platform_data/eth-ep93xx.h | 10 - include/linux/platform_data/keypad-ep93xx.h | 32 - include/linux/platform_data/spi-ep93xx.h | 15 - include/linux/soc/cirrus/ep93xx.h | 47 +- sound/soc/cirrus/Kconfig | 9 - sound/soc/cirrus/Makefile | 4 - sound/soc/cirrus/edb93xx.c | 117 -- sound/soc/cirrus/ep93xx-i2s.c | 19 - sound/soc/cirrus/ep93xx-pcm.c | 19 +- 72 files changed, 5200 insertions(+), 4515 deletions(-) --- base-commit: be3ca57cfb777ad820c6659d52e60bbdd36bf5ff change-id: 20230605-ep93xx-01c76317e2d2 Best regards,
Comments
On Wed, Nov 22, 2023 at 11:59:38AM +0300, Nikita Shubin via B4 Relay wrote: > This series aims to convert ep93xx from platform to full device tree support. > > The main goal is to receive ACK's to take it via Arnd's arm-soc branch. > > Bit thanks to Krzysztof Kozlowski for his zero-day review. > > Krzysztof, Sergey, i've changed some files that you have already provided tag: > - dt-bindings: spi: Add Cirrus EP93xx > - ata: pata_ep93xx: add device tree support > > Added DMA and renamed clock header file. > > Sergey, Damien, i've changed some files that you have already provided tag: > - ata: pata_ep93xx: add device tree support > > Added OF DMA setup and dropped platform file. > > Mark, i've changed some files that you have already provided tag: > - spi: ep93xx: add DT support for Cirrus EP93xx > > Added OF DMA setup and dropped platform file. > > Major updates: > > - reboot, pinctrl, clk are now auxiliary and instantiated from SoC driver as > Stephen Boyd suggested > - i moved all clock code to clk-ep93xx.c, as it no longer has a separate dt node, > so XTALI is externalk for this driver and passed as index 0, and pll1, pll2 are > internal and passed via pointer for parent_data > - reboot bindings dropped > - pinctrl and clk bindings moved to syscon YAML > - xlate added for DMA, so now all DMA users use it via device tree, otherwise probe > order messed up and we might end up probing before DMA with no possibility to defer probing > - DMA port bindings dropped, they are described in YAML file > - DMA platform code dropped > - i2s, spi, pata now use OF DMA > - YAML and dtsi/dts changed to reflect auxiliary conversion and DMA changes > Patches should be now formated with '--patience' It seems we are a step behind on Torvalds' mind :-) A few weeks ago he suggested to use --histogram is the best option. But hey, --patience probably is good enough for this version, so thank you for using it!