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: 12418667 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-20.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC13FC432BE for ; Wed, 4 Aug 2021 12:44:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C5A5560F35 for ; Wed, 4 Aug 2021 12:44:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238119AbhHDMoo (ORCPT ); Wed, 4 Aug 2021 08:44:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236990AbhHDMon (ORCPT ); Wed, 4 Aug 2021 08:44:43 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37815C0613D5 for ; Wed, 4 Aug 2021 05:44:31 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id t9so4191854lfc.6 for ; Wed, 04 Aug 2021 05:44:31 -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=bFxy8wJCWrP+EBjicxuPJd3vSXNV7jnCduqeINTe5rQcjD6sSy+lYfgJyYrpH5O2Kx aMnnWK5kTQ/EQtKvXquhgea4XKMcw0vSmqJsrQq6YaUJbUf6pguTtU1QZ6SypX3NdInF o/uqnOJDHSNVQS85hioGLzWEu0aeI4TkFFZ1KzWNzFMPGaZAXmlpW3hvHLTMDA0Pnlw2 Ua01m6GZymeCQr4m1rBcgLebAFK8ZKIEYfO0jQTK2R22G4U4VZMGRJopUxFtEA0LoJAX A4QViPHerf1CKYkFkSipTZnyBEfSrDCuzvM10hZ3/J0whmVA5jNrVSH4OfARNqIH/blI /g4Q== X-Gm-Message-State: AOAM531n4yJozknoqUOWaYdmmmLd2HyjmtH0ZpXStZttPcdXPiHD4Mts SJ+cGCQ2bQph+6jsjnmoAAQ7H1jQWX6f8kQ1j66+8A== 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 List-Id: To: SoC Team , arm-soc Cc: Linux ARM , Jens Axboe , Guenter Roeck , "open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)" , LINUXWATCHDOG Precedence: bulk List-ID: X-Mailing-List: linux-watchdog@vger.kernel.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