Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp649720imm; Fri, 13 Jul 2018 04:05:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdlF0x7m8B/LIa/qaBLb+tlaSaQcQqQSWfBlA2ImLj7Nz/bAChSZ4C59KX3XOPDO0Hbvy3y X-Received: by 2002:a62:15c8:: with SMTP id 191-v6mr6530692pfv.194.1531479936992; Fri, 13 Jul 2018 04:05:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531479936; cv=none; d=google.com; s=arc-20160816; b=r1NRHRiGN+Us4pLUjSRnfQw7Y6Mrt/LX51AB+qk/nwM4u19cKAl9X85n6QVleWKp6i mqFFsuh6bnXGraHO0OQCh4Ga8OfWfPbHaILZzE+lB4FRwNEZY8qMxBLoAcfPRAeB9hER hX3VdnLhLtSCxBur5a/D2jBJ8rTsNU4eU163gsscBL02OJKzgPMbGO9r0HYVHInI9UXC HNCmqzqf2o/5b3Fq4GJgKeVIhTdB0ILbjqHbCqMGPqLF7YQycik+g5LmTRiZeO6WHKs+ k27nenczDk7pM2TZ9vJIfVHP+e9bcAcLRwB5EeXqczs80HZ+7WLdNajg4ffL9o10W2Um EKiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=Qk6hnKwUWLm/H05hoCAYAeoi5TcRpEM5YmryPa+Opgk=; b=ekiarFLlwpeyK4km2NGSgqXnApdSohx/wr0s1jO0wbvABU2lDRQHPqR6LdesWL21Kt uZNLcAWBv7r7RpmII1MMxUSIF9A+kcefvX6wLLtVLGHQw8dTOHuxNgJh7VTfozbP17Ji YINvqeSdPKfLzMLZFONDSGRawvEg5jkjB8v/v5GpYyKpYEvq+30evTr1NWO8TRMSD3er 9fRMQipQQb5UY+PY/zrlhIwkDsGwGkVAgv9T+0cUXVTUTC0b0OOGfRH0YxwZwsfsu7+m eQDVSKoFiabR4FPKeEg8RjH/DNkFXE8tlqWfePYFzdUsMgecnsLXpv8fKMDtR562oPte 91NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=JPNp+r7Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2-v6si22610141pge.404.2018.07.13.04.05.22; Fri, 13 Jul 2018 04:05:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=JPNp+r7Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727482AbeGMLR0 (ORCPT + 99 others); Fri, 13 Jul 2018 07:17:26 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:34100 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729617AbeGMLRZ (ORCPT ); Fri, 13 Jul 2018 07:17:25 -0400 Received: by mail-wr1-f65.google.com with SMTP id c13-v6so24664198wrt.1 for ; Fri, 13 Jul 2018 04:03:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=Qk6hnKwUWLm/H05hoCAYAeoi5TcRpEM5YmryPa+Opgk=; b=JPNp+r7QNkJuK/Vmb9tpXBdnnFsV1dZagccIFdpbM5Z43VbNVVIImhfjWCZWIWsTx2 IJZTJ4iEajeDajbWMOSPQ6z2LtvtkPvOv8UBt/UuLqzlrEaF0hfKTpRVZ6XQrsQC1d/S /YWQmutlL4AX5AhuApf8mOsE6CNolHKIiwj12TgJk0xKUM/zDjJCX2YC+MQwkHQ4hJr3 qZ70jRHWPuU1T/RXM5+FoJ82NvaGp4boZklc8a1ykJ8/+Q1shzXASJoASPhFG+JpB178 v7X7g7LcLA6UgHG74O8tiCVgeAwxb+pVb1Ru85uCUY+QKiSSMLMN/O2zz+kxLfv9Oat3 Bvjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Qk6hnKwUWLm/H05hoCAYAeoi5TcRpEM5YmryPa+Opgk=; b=Y+0haP223G29I2zNjyxa41qwOOz3oyeG8p5U1PJRp/MmhatuQ0EyJ6l5H9iSNqCNR5 6hUkGMFFm8n76+9cvZCDX51ypkP0po6gTvvdtWipdRY/WQLPtu57hPgX6ilkJI33K2eq IiHtbtOlGqi6Rc2g42vPSNRLm3nK7GsX13H66Xo1Euhsbwj2o6F8hmvT0xSuosvdPO9G X/LgjaaUPXoIXDIUBt0VM76+GDeSsrlxbZUhRjgtrX+8a+kCUVJqfFj1PQ3tOAMR3LJG fJZEkR0qdHwxiDhwxxEe+Ze62Bd8Sh9fUa9r7RD/2kEY/7sUny6yEr3pSAt6RGY8EA1K cyXw== X-Gm-Message-State: AOUpUlEwg3hd0nvtDqHYw88aCf+faZHsCVwT4Kq1/CdjPTqh/bpYh6b5 uVQNsLLxDEuycOJdE3QEny0K1A== X-Received: by 2002:a5d:6401:: with SMTP id z1-v6mr4471676wru.64.1531479793990; Fri, 13 Jul 2018 04:03:13 -0700 (PDT) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id y14-v6sm4598045wrq.45.2018.07.13.04.03.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 13 Jul 2018 04:03:13 -0700 (PDT) From: Corentin Labbe To: hdegoede@redhat.com, linux@armlinux.org.uk, mark.rutland@arm.com, maxime.ripard@free-electrons.com, robh+dt@kernel.org, tj@kernel.org, wens@csie.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, thierry.reding@gmail.com, icenowy@aosc.io, Corentin Labbe Subject: [PATCH v3 0/9] ata: ahci_platform: support allwinner R40 AHCI Date: Fri, 13 Jul 2018 11:02:57 +0000 Message-Id: <1531479786-4911-1-git-send-email-clabbe@baylibre.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello This patchset add support for allwinner R40 AHCI controller. This controller need two regulator and one reset which is unsupported for the moment on ahci_platform. So this patchset add support for reset and regulator for AHCI controller. It add also support for non-target regulator per SATA port. The whole patchset is tested on sun8i-r40-bananapi-m2-ultra and on sun7i-a20-cubieboard2 which doesnt have any of the ressources added by this serie, so no regression should come with it. Since just before sending this patchset, I discovered the revert of f0f56716fc3e ("ata: ahci-platform: add reset control support") I have also tested this serie on a tegra124-jetson-tk1. Changes since V2 - Moved all ressources management to ahci_platform Corentin Labbe (9): ata: ahci_platform: add support for AHCI controller regulator dt-bindings: ata: ahci-platform: document ahci-supply ata: ahci_platform: add support for AHCI controller reset dt-bindings: ata: ahci-platform: document AHCI reset dt-bindings: ata: ahci-platform: fix indentation of target-supply ata: ahci_platform: add support for port regulator dt-bindings: ata: ahci-platform: document port-supply ARM: dts: sun8i: r40: add sata node ARM: dts: sun8i: sun8i-r40-bananapi-m2-ultra: enable AHCI .../devicetree/bindings/ata/ahci-platform.txt | 7 +- arch/arm/boot/dts/sun8i-r40-bananapi-m2-ultra.dts | 21 +++++ arch/arm/boot/dts/sun8i-r40.dtsi | 16 ++++ drivers/ata/ahci.h | 4 + drivers/ata/libahci_platform.c | 102 ++++++++++++++++++--- 5 files changed, 138 insertions(+), 12 deletions(-) -- 2.16.4