From patchwork Wed Aug 4 12:44:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1513430 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=FjFOhkY9; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=Gocdf1yX; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Gfs0K3gq7z9sW5 for ; Wed, 4 Aug 2021 22:45:21 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/N4yDZq4RKHHdNBtupbTeBxXCXaS4lUhknZkzbkCiPQ=; b=FjFOhkY9jUNKJd rpEIHPPoMR4S+yNv6Bw12W9lL492+xghRl2TCtbMCHnRYPmnCcBU2/u3V6D8Sf4aifrfne2GeKJuc PJq+Ptpor1xQw6haCDYk6AXYSBx4AsmUaV3GkNinhUirnC1pICG6ljy1ssbzTROEesBUYwbjCNRVw hXfWORxDsFbclV7KOxC79xrrh90nLCOHU5Z+6DoJpsAPYaBhLviV4H3n4mmSXL13k8nK8Xa0gCRjh Q+lHBeF8MTrCn6+yzjRIGZwqaxQnhV/h9qhNGn44iPgBDOloYJkDfoOa5vdEUFwVXS+U5bA89lMuI AMbaLCoXnWoUDuap58gA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGGB-0061zu-14; Wed, 04 Aug 2021 12:44:35 +0000 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBGG7-0061yi-5m for linux-arm-kernel@lists.infradead.org; Wed, 04 Aug 2021 12:44:32 +0000 Received: by mail-lf1-x133.google.com with SMTP id b6so4147362lff.10 for ; Wed, 04 Aug 2021 05:44:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=KThPZotl2MnbNHnYwN0Cur48hqa8t2fsEOoHY+/KM0c=; b=Gocdf1yXuPX8xeoaYI9oLI1JhocaQp6ZZyVcTlOJdDZI2/0vnch4E5lQGPm3MxwdUM giqLR8+3StPTSF4eaI9QxPRAYgsQPOy3Sgy1vk6QHMGur8WgKk9JiwpBE7Q7NqhIFwt9 YVZHv5lFDRw148Wb0r8UWWKNpLe8xrYAqQDWLQuAbt5MPsHwKIZ92D+P+/WX5P4zRRJR snno7CnnmIaYZRGMeNve6R+RMLZT4vIseAntmNcFNMogNI0duS3C7Rhms//adcYhnZ1B JgYUmWHHnqKvaZCBz8Vai7whhh0nzb9P1JFctB31mbxCa5/w7d9XJZYYIGYyiaufHl03 +5sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=KThPZotl2MnbNHnYwN0Cur48hqa8t2fsEOoHY+/KM0c=; b=KVIldZZMEetjnTjX8H/sboAxM9LeDsZfDTIX6F4FupP8vKV6D1kTaYOIuzUVaYA5cC uOHLeOcBkx3VtwhlVcb50MZkNjLig+ARqXHJZhPTzBQJlgfnCZF4zFkontZIohrgpi3S yDUtvI8fv4sswXU89C9WJyfztlo2TC/f4EljycRjjThu1MtR+LS1Ev6YhhSoOx4oTLZl wvOWYtypVixFqpbFhw1DtqoLFp3wZCGBH4imrIBRWnOM0gk/fHoZp/vRUXfhsE39AB2C gqsLj1V1OdN3McEcwGfKCI3tRIqM6cxufLNhl0fTG7RJfkXf79AIj0dOmYSCm1GAXtbk 3fAg== X-Gm-Message-State: AOAM533xsOauSpyHFNwZtucyEJDiwiKD/oFhC2XzTi4z31kQh6rY0ycw 2lHSi8BfnLwFO+00N9du1vLfX4P4PI8b8U3BQLj6ZA== X-Google-Smtp-Source: ABdhPJyDDyEf+9rLZyk+tYny9g+7KdGyN7lm64G/9thaqibRNfBCYr9r5bZvfT70hWlzM4bj90OnDOt9H++74lx9/Q4= X-Received: by 2002:ac2:4d0f:: with SMTP id r15mr12222472lfi.649.1628081069590; Wed, 04 Aug 2021 05:44:29 -0700 (PDT) MIME-Version: 1.0 From: Linus Walleij Date: Wed, 4 Aug 2021 14:44:18 +0200 Message-ID: Subject: [GIT PULL] IXP4xx driver updates for v5.15 To: SoC Team , arm-soc Cc: Linux ARM , Jens Axboe , Guenter Roeck , "open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)" , LINUXWATCHDOG X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210804_054431_263589_7F11BE5B X-CRM114-Status: GOOD ( 17.64 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi SoC maintainers, this is a set of combined driver updates for IXP4xx targeted for the v5.15 merge window. I am sending it to the SoC tree because of the cross-subsystem dependencies and since the corresponding DTS changes goes into SoC. These will be sent separately. Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:133 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org Hi SoC maintainers, this is a set of combined driver updates for IXP4xx targeted for the v5.15 merge window. I am sending it to the SoC tree because of the cross-subsystem dependencies and since the corresponding DTS changes goes into SoC. These will be sent separately. Note the following: All new DT bindings in this patch set are ACKed by bindings maintainer Rob Herring. The new expansion bus driver goes in through the SoC tree as is custom for bus drivers. The watchdog maintainer has ACKed the watchdog patch, which also briefly affects the timer driver. The PATA changes also have some mach dependencies. I have informed the libata maintainer that I intend to take these through ARM SoC. https://lore.kernel.org/linux-ide/CACRpkdbf9TfFyObuqCzOEe_QrS=Gru8i6x-1P7v_N-a11g_iiA@mail.gmail.com/ Please pull it in! Yours, Linus Walleij The following changes since commit e73f0f0ee7541171d89f2e2491130c7771ba58d3: Linux 5.14-rc1 (2021-07-11 15:07:40 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git tags/ixp4xx-drivers-arm-soc-v5.15-1 for you to fetch changes up to 47adef20e67d657696c953f4b8023017c6005c1b: pata: ixp4xx: Rewrite to use device tree (2021-08-04 12:20:44 +0200) ---------------------------------------------------------------- IXP4xx driver updates for modernizing the IXP4xx platforms, taregeted for v5.15: - Add DT bindings to the expansion bus and PATA libata driver. - Add a new expansion bus driver. - Rewrite the watchdog driver to use the watchdog core and spawn from the timer (clocksource) driver. - Refactor the PATA/libata driver to probe from the device tree and use the expansion bus driver to manipulate chip select timings directly. ---------------------------------------------------------------- Linus Walleij (8): bus: ixp4xx: Add DT bindings for the IXP4xx expansion bus bus: ixp4xx: Add a driver for IXP4xx expansion bus watchdog: ixp4xx: Rewrite driver to use core pata: ixp4xx: Use local dev variable pata: ixp4xx: Use IS_ENABLED() to determine endianness pata: ixp4xx: Refer to cmd and ctl rather than csN pata: ixp4xx: Add DT bindings pata: ixp4xx: Rewrite to use device tree .../bindings/ata/intel,ixp4xx-compact-flash.yaml | 61 +++ .../bus/intel,ixp4xx-expansion-bus-controller.yaml | 168 ++++++++ MAINTAINERS | 2 + drivers/ata/pata_ixp4xx_cf.c | 264 +++++++++---- drivers/bus/Kconfig | 11 + drivers/bus/Makefile | 1 + drivers/bus/intel-ixp4xx-eb.c | 429 +++++++++++++++++++++ drivers/clocksource/timer-ixp4xx.c | 48 ++- drivers/watchdog/Kconfig | 1 + drivers/watchdog/ixp4xx_wdt.c | 283 ++++++-------- include/linux/platform_data/pata_ixp4xx_cf.h | 4 +- 11 files changed, 1014 insertions(+), 258 deletions(-) create mode 100644 Documentation/devicetree/bindings/ata/intel,ixp4xx-compact-flash.yaml create mode 100644 Documentation/devicetree/bindings/bus/intel,ixp4xx-expansion-bus-controller.yaml create mode 100644 drivers/bus/intel-ixp4xx-eb.c