Message ID | 20240226-ep93xx-v8-0-3136dca7238f@maquefel.me |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-80636-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp1918598dyb; Sun, 25 Feb 2024 23:34:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV027bs9Ihv/e/H57YW9BnjkRpWzyRiDyTnwCNUy8crfI1UToyMDpF5ILu3gu5UXpI0nYY19OZ8S6xjx3QkdR3sqGVPqw== X-Google-Smtp-Source: AGHT+IH0y/XDtYq+aVcVC7F3W1iwniFouSgSNfSjbHgi7LYR4jUszLz/QMo3bB6HeA2/EIiCVIRy X-Received: by 2002:a05:6102:c4b:b0:470:4e67:3b38 with SMTP id y11-20020a0561020c4b00b004704e673b38mr3956623vss.14.1708932846232; Sun, 25 Feb 2024 23:34:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708932846; cv=pass; d=google.com; s=arc-20160816; b=PXl+rjTE86gT2CvRV4nAHs6F6W5QuBGzE4O4LqbNq/+TM3M9HGKJHLUFfbY4goNWSo B776CiaJtO3FCeAOANz++f+kzIlMjOirheJID2Oxfkor9n6D1rFPjVRBbs6VOQ9SPIcT UWOdnVFFJhW4rZ97yvanaXJjGEQCr/qDl7jj8x8+ksbU5pd2CcCDgS/fw7ntZVlZnq7Y mgA/VRiVYDvsK80EdL6J1cZG2g3xuUGZAW2ij0je0RrxEfJ6SvpRDmJMcyDDPWGLKMXw aPv5FeOuBYleOXgL04zzoSsIn3G66HLSymKtUDonzt0zalrVPJm6J7KfnFx3UUJ+j3g1 L9SQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=g04MIO8uW8S/7V9w/EeHgcilOQoqCEB/+radELfQJHs=; fh=fAAfbJ+RXhJ8N44jhovxLpW6t34V82YxFdOQDBhPJ5o=; b=q4t+oGOHvx/bmsVHnCECsoOB8FEMF15WAosMkCYepAKEZdxvV0PVgi9ILPvS9etuUQ MspyIG8Vrg8WRPO+2oW4AYGxn7kA4TvqThFS9pOPv5dnk3NIZ/64P01RUrj/oAidef4+ 5eCj6AxYuwdHSdI0ab3AB8/5cSP8fHvnqnDiBbnJwD5nCZl+a6vTtx7QkaIpTzva4Ebv 2QV2hs5z2ZNSoecOL2C5LpbLp46DlYm5XiQ8P+QGDRLbJ9FZCjD4XsJKl5WWJYkLWXXE pN45W67HhNYXKPPRzcSjRrkbRWX6OlYfO5YfkXvwBoKER+zW2YqDHTxBL829FfCZDzW1 /DGw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UeF7Oaoq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80636-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80636-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t4-20020ac85304000000b0042c0fb47a11si4383636qtn.281.2024.02.25.23.34.06 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 25 Feb 2024 23:34:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-80636-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UeF7Oaoq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-80636-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-80636-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F1A551C21DCD for <ouuuleilei@gmail.com>; Mon, 26 Feb 2024 07:34:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A6FE01BF2A; Mon, 26 Feb 2024 07:31:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UeF7Oaoq" 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.subspace.kernel.org (Postfix) with ESMTPS id 0D6761BDE2; Mon, 26 Feb 2024 07:31:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708932682; cv=none; b=SdF+IP1hlo1RLs/1Ix/YJx3Fe5P5x/izoiZPmeXxLI42+Sh9MDkymeDtczLh8TZRaEVNuYRWUlXXXHPbaCxBKvwRiFtdzyUOgWY/TsQ560/9iZPoNyWWorgIFPF3XRqBoT34e2udlj5NO8WPYdCGgIQO5oxJ9gMkCAyNTgdj9n4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708932682; c=relaxed/simple; bh=dcEVmcf77DVIMovL/YaiMfgr5H01UEZll0xOlIVYfpk=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=hY+33z2zh0tg/19npig4mZw13CIpfwh4nkalbxuAg5vJi/wZZSzbX4vPk0dlCqQR/jxLRX5d4MwHhI5Uq9+ilCeqWkdBr93unCb2J1T5v7DN8whQbiMKyHRihHUER16VMb76bdZxoGmwVxZou73aGBoee9IIIq/Kzu5V8YWJU6A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UeF7Oaoq; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 9B656C43390; Mon, 26 Feb 2024 07:31:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708932681; bh=dcEVmcf77DVIMovL/YaiMfgr5H01UEZll0xOlIVYfpk=; h=From:Subject:Date:To:Cc:Reply-To:From; b=UeF7OaoqSbGeDKwmkqz9bElREg0sl+11N4VjKuq1bXE/ID7L1zLK0800lX7hc+1mQ G97VI3DdrIEoIwv7FX4o+EIW52Mu9CixtO/0fbhHm5CZKUSXDIQBaRP5RVUAJ89I+M 5Ig5bsKDJSDoT+uBwoPA0yDNkpFJhRT/rhUwTrm1LnrQC6nhQ4IjMGBD4L+qUYn12F LGC/rV4sn5bNbfGUtyVqL8Pc0RQCNRrziWB8xIh38OmA/+hdXHhtAOJXMPsdSydOcw 6Ecq58d1pcx69/Z5s6uEhJNZEiu1Mw8Rxrcm/wRB12nQMpfDPUHdUPKkeRYx2OnAN6 P9aOhFE/AIu6w== 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 6B5B8C48BF6; Mon, 26 Feb 2024 07:31:21 +0000 (UTC) From: Nikita Shubin via B4 Relay <devnull+nikita.shubin.maquefel.me@kernel.org> Subject: [PATCH v8 00/38] ep93xx device tree conversion Date: Mon, 26 Feb 2024 10:29:56 +0300 Message-Id: <20240226-ep93xx-v8-0-3136dca7238f@maquefel.me> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAPQ93GUC/2XOwW6DMAwG4FepOC9V7JCE7LT3mHYwiRnRBnQJR Z2qvvtCpRVVHH/Z329fq8wpcq5eD9cq8RJznMYSmpdD5XsaP1nEUHKFEpU0Ugs+OXW5CAneGgW WMWBVllvKLNpEo+/X9YHyzGkdnBJ38XK/8P5RcpemQcx9Ytp6a6wBlUY8QqMkChBj/IozHXN/b uP4NtDPmTv+Pg68VvYxz1P6vf+8qLV4996ihBQqGEW6A5CKnzrWP5Z6gw42WBdIEKx1wbMHuYf 6AQEQH1AXGLQja4IOHbo9NBtE2KAp0Ctp24a8I2r20P7DWgI0D2jXi06rpjbE1sIzvN1ufxNG9 5jeAQAA 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>, Ralf Baechle <ralf@linux-mips.org>, "Wu, Aaron" <Aaron.Wu@analog.com>, Lee Jones <lee@kernel.org>, Olof Johansson <olof@lixom.net>, Niklas Cassel <cassel@kernel.org> 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, Arnd Bergmann <arnd@arndb.de>, Bartosz Golaszewski <bartosz.golaszewski@linaro.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, 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=1708932678; l=17014; i=nikita.shubin@maquefel.me; s=20230718; h=from:subject:message-id; bh=dcEVmcf77DVIMovL/YaiMfgr5H01UEZll0xOlIVYfpk=; =?utf-8?q?b=3DItBu4UQQv+dq?= =?utf-8?q?bLuuO2RYcYv88kbC4PsjqfYxziChPxqRD6Nxqtwg8iGPpgOmfIYvgn8+Na9dwae+?= ftVk5q1/AxvC98P7BI/FhJ0TH7plc9BgkDLhOhVLeXeBSFz5uwHm 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-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791945968373716690 X-GMAIL-MSGID: 1791945968373716690 |
Series |
ep93xx device tree conversion
|
|
Message
Nikita Shubin via B4 Relay
Feb. 26, 2024, 7:29 a.m. UTC
The goal is to receive ACKs for all patches in series to merge it via Arnd branch. No major changes since last version (v7) all changes are cosmetics. Following patches require attention from Stephen Boyd, as they were converted to aux_dev as suggested: - ARM: ep93xx: add regmap aux_dev - clk: ep93xx: add DT support for Cirrus EP93xx Following patches require attention from Vinod Koul: - dma: cirrus: Convert to DT for Cirrus EP93xx - dma: cirrus: remove platform code Following patches dropped from series: - ARM: ep93xx: Add terminator to gpiod_lookup_table (taken) Patches should be formated with '--histogram' --- Changes in v8: soc: Add SoC driver for Cirrus ep93xx - fixed freeing adev instead of rdev - use __free() and no_free_ptr() for rdev allocation - s/of_device_get_match_data()/device_get_match_data()/ ata: pata_ep93xx: add device tree support - more appropriate usage of dev_err_probe() pinctrl: add a Cirrus ep93xx SoC pin controller - 8 per row in ide_9312_pins mtd: rawnand: add support for ts72xx - fwnode_handle_put() for fwnode in ts72xx_nand_remove() - Link to v7: https://lore.kernel.org/r/20240118-ep93xx-v7-0-d953846ae771@maquefel.me Changes in v7: mtd: rawnand: add support for ts72xx - fixed KConfig description ARM: ep93xx: Add terminator to gpiod_lookup_table - + Reported-by, Fixes ARM: ep93xx: add regmap aux_dev - + trailing comma - - #include <linux/spinlock.h> clk: ep93xx: add DT support for Cirrus EP93xx - dropped unused defines - return from default in ep93xx_mux_get_parent() - use guard() in ep93xx_mux_set_parent_lock() - <math.h> header for abs_diff() - fixed comments pinctrl: add a Cirrus ep93xx SoC pin controller - dropped comments for DEVCFG defines - <linux/array_size.h> for ARRAY_SIZE() - + default in ep93xx_get_group_name() - correct cast for id->driver_data - s/device_set_of_node_from_dev()/device_set_node()/ power: reset: Add a driver for the ep93xx reset - Add <linux/container_of.h>, <linux/errno.h>, <linux/slab.h> - Add <linux/module.h>, <linux/mod_devicetable.h> - Remove <platform_device.h> spi: ep93xx: add DT support for Cirrus EP93xx - Replace with ret = dev_err_probe(...); ata: pata_ep93xx: add device tree support - fixed wrong rebase with some partes leaked in "ata: pata_ep93xx: remove legacy pinctrl use" - fix dma_request_chan() error processing dma: cirrus: Convert to DT for Cirrus EP93xx - fixed commit message (dropped explicit "only") - fixed clk_get() processing to defer probe and log spamming - refactor ep93xx_m2p_dma_filter() - dropped blank line in ep93xx_m2p_dma_of_xlate() - refactor ep93xx_m2m_dma_of_xlate() dma: cirrus: remove platform code - s/dma/DMA/ in commit message soc: Add SoC driver for Cirrus ep93xx - add period - use cleanup and guard() for spinlocking - correct cast for device_get_match_data() - dropped dev_info() with SoC revision - i can't find it anywhere since 2.6 :/, don't know why i was so sured that ep93xx always printed that ata: pata_ep93xx: remove legacy pinctrl use - made error handling in DMA as Uwe suggested - Link to v6: https://lore.kernel.org/r/20231212-ep93xx-v6-0-c307b8ac9aa8@maquefel.me Changes in v6: - clk: ep93xx: add DT support for Cirrus EP93xx - s/spin_lock_irqsave()/guard()/ - refactor index check in ep93xx_mux_set_parent_lock() to something more readable - use in_range in ep93xx_mux_set_parent_lock()/ep93xx_ddiv_set_rate() - use GENMASK() in ep93xx_ddiv_recalc_rate() - comment reserved bit in ep93xx_ddiv_set_rate() - move out from loop ClkDiv value assigment - some style fixes Andy, i was i asked to set index of XTALI explicitly, i am not setting ddiv_pdata there becouse only XTALI is jnown in advance, and i think setting them in one place is more convenient. - pinctrl: add a Cirrus ep93xx SoC pin controller - drop OF from Kconfig - droped linux/of.h include - add space to */ where it is applicable - add coma in multiline assigment - "return NULL" as default case in ep93xx_get_group_name() - fixed casting id->driver_data - use device_set_of_node_from_dev() - use dev_err_probe() - power: reset: Add a driver for the ep93xx reset - drop linux/of.h include - soc: Add SoC driver for Cirrus ep93xx - s/GPL-2.0/GPL-2.0-only/ - drop linux/kernel.h include - + blank line before linux/soc/cirrus/ep93xx.h - + blank line after ep93xx_get_soc_rev() - + coma for pinctrl_names - valid casting to int for of_device_get_match_data() return value - mtd: rawnand: add support for ts72xx - return as part of switch case - s/iowrite8/iowrite8_rep/ - net: cirrus: add DT support for Cirrus EP93xx - fix header sorting - dma: cirrus: Convert to DT for Cirrus EP93xx - use devm_clk_get - use is_slave_direction 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 (35): 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: Convert to DT 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 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 | 94 ++ .../bindings/sound/cirrus,ep9301-i2s.yaml | 16 + .../devicetree/bindings/spi/cirrus,ep9301-spi.yaml | 70 + .../bindings/watchdog/cirrus,ep9301-wdt.yaml | 42 + 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 | 441 ++++++ 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 | 1018 -------------- arch/arm/mach-ep93xx/dma.c | 114 -- arch/arm/mach-ep93xx/edb93xx.c | 368 ----- 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 | 321 ----- drivers/ata/pata_ep93xx.c | 107 +- drivers/clk/Kconfig | 8 + drivers/clk/Makefile | 1 + drivers/clk/clk-ep93xx.c | 840 ++++++++++++ drivers/dma/ep93xx_dma.c | 287 +++- drivers/gpio/gpio-ep93xx.c | 345 ++--- drivers/input/keyboard/ep93xx_keypad.c | 74 +- drivers/mtd/nand/raw/Kconfig | 6 + drivers/mtd/nand/raw/Makefile | 1 + drivers/mtd/nand/raw/technologic-nand-controller.c | 222 +++ drivers/net/ethernet/cirrus/ep93xx_eth.c | 63 +- drivers/pinctrl/Kconfig | 7 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-ep93xx.c | 1434 ++++++++++++++++++++ drivers/power/reset/Kconfig | 10 + drivers/power/reset/Makefile | 1 + drivers/power/reset/ep93xx-restart.c | 84 ++ 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 | 240 ++++ drivers/spi/spi-ep93xx.c | 66 +- drivers/watchdog/ep93xx_wdt.c | 8 + drivers/watchdog/ts72xx_wdt.c | 8 + include/dt-bindings/clock/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 | 116 -- sound/soc/cirrus/ep93xx-i2s.c | 19 - sound/soc/cirrus/ep93xx-pcm.c | 19 +- 71 files changed, 5138 insertions(+), 4550 deletions(-) --- base-commit: d206a76d7d2726f3b096037f2079ce0bd3ba329b change-id: 20230605-ep93xx-01c76317e2d2 Best regards,
Comments
On Mon, Feb 26, 2024 at 10:29:56AM +0300, Nikita Shubin via B4 Relay wrote:
> The goal is to receive ACKs for all patches in series to merge it via Arnd branch.
What are the actual dependencies here?
Hello Mark! On Mon, 2024-02-26 at 13:34 +0000, Mark Brown wrote: > On Mon, Feb 26, 2024 at 10:29:56AM +0300, Nikita Shubin via B4 Relay > wrote: > > > The goal is to receive ACKs for all patches in series to merge it > > via Arnd branch. > > What are the actual dependencies here? More than a half of patches makes device drivers incompatible with "platform" approach, this is intentionally cause we don't want any leftovers - ep93xx should be fully converted to dt or left as is. Currently only 4 patches that require review/ack left: - ARM: ep93xx: add regmap aux_dev - clk: ep93xx: add DT support for Cirrus EP93xx - dma: cirrus: Convert to DT for Cirrus EP93xx - dma: cirrus: remove platform code