Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1685628imm; Tue, 10 Jul 2018 06:18:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe6LQG2D0HA8cHE3YYSCrcPjMD3T0E4T9yP0lH2BbvVZbg8Ozt2lxtbsW+Ap98+eDI/Zp8e X-Received: by 2002:a17:902:8c88:: with SMTP id t8-v6mr24606896plo.117.1531228728420; Tue, 10 Jul 2018 06:18:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531228728; cv=none; d=google.com; s=arc-20160816; b=mJA+WhNqkyjUwA9Sd7qg4Uyj8hoERf7+QxRO4ZAMYcz3YoG3rCjzUJERRd1GHsNgRf bKTxiFL4Fc4FD6OvFv3cX1+niwLzUFsoRmH98xHQGkGQ4fhkiSCQOF7EjrQf6ke9d8Mw 5KlY5Y0T9TKHqpgCLAKVP7ld1/3jTSTtJnTFewFcrbSyzvXe8VPcbuvbuAEl33+18/q7 7rKfFVAyUmygPLVmjTgyiLmONuYTw5OSLF5pClTVkpXzCAJ+yGL1RuuGw3/ZQ6BGWdmy zVSwJH5BeZ8OZW6pex7uabAnlFK7IJW2JDW/QnZa/WVBuk/W18wUQlKsQNHYcntV9y3d kVvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to:date :arc-authentication-results; bh=BWnAOyoX/RxuqvRVbPTS6hyH8CkSg7A037TasA9gQGE=; b=Dy8etaQkxIG73uRa+w7hahOez2R14166RaFjOnJEH7V9KVJuGTQvMxtYnLRA9wKhlF XSMKmJdjYg56KmGoeRQy+IkEBtUKJRTOb2UBwWAksTXTIOVOHP3WhW8U1qP0OWfhO6fC Fo4NTXZ1ZRwIwp52X+SCbVEOJVZTF2vATOQyI9pg99JiG8cZuKZUePW7710ifrQSh0pv hT5fEye96swo6l/5hV+dQJHOoP3dyfXpLUEfdfT97SHqnFnZ3bHnIZqySYL4jw/Qkw8A yhzNOGHxrbTqWh68hkVzxLRSyUddhs39LlIHWUuQSLAmbY1UYPaQgLZoqsv35bDkcBE0 Nohw== ARC-Authentication-Results: i=1; mx.google.com; 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 2-v6si16984187ple.192.2018.07.10.06.18.33; Tue, 10 Jul 2018 06:18:48 -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; 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 S933245AbeGJNPw convert rfc822-to-8bit (ORCPT + 99 others); Tue, 10 Jul 2018 09:15:52 -0400 Received: from hermes.aosc.io ([199.195.250.187]:35223 "EHLO hermes.aosc.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754265AbeGJNPv (ORCPT ); Tue, 10 Jul 2018 09:15:51 -0400 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id A664E64915; Tue, 10 Jul 2018 13:15:36 +0000 (UTC) Date: Tue, 10 Jul 2018 21:15:05 +0800 In-Reply-To: <20180710130517.GA27236@Red> References: <1531149658-27030-1-git-send-email-clabbe@baylibre.com> <20180710130517.GA27236@Red> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [PATCH v2 0/4] sun8i: r40: add AHCI To: linux-arm-kernel@lists.infradead.org, LABBE Corentin CC: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, wens@csie.org, robh+dt@kernel.org, tj@kernel.org, maxime.ripard@free-electrons.com From: Icenowy Zheng Message-ID: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 于 2018年7月10日 GMT+08:00 下午9:05:17, LABBE Corentin 写到: >On Mon, Jul 09, 2018 at 11:44:20PM +0800, Icenowy Zheng wrote: >> >> >> 于 2018年7月9日 GMT+08:00 下午11:20:54, Corentin Labbe > 写到: >> >Hello >> > >> >With Moeicenowy's agreement, I have take leadership ot this >patchset. >> > >> >There are no really changes appart renaming struct quirck to >variant. >> > >> >Since the last serie is really old, I will answer comment here. >> >The two regulator (1.2 and 2.5V) are not for the PHY since: >> >- nothing in the schematic said that they are for the PHY, they >seems >> > only for controller >> >- all other AHCI driver use 5V for the target/PHY (vs 1.2/2.5 which >> > cannot be used for target) >> >> Target is not equal to PHY. Target means the supply >> of the disk, which can be usually 5v (for 2.5" HDD) or >> 12v (3.5" HDD). >> >> By reading Wikipedia articles about SATA and LVDS, I assume >> 2.5V is for PHY and 1.2V is for internal digital logic (VDD-SYS >> is commonly 1.2V on 40nm Allwinner SoCs; 2.5V VDD can be >> used to efficiently deliver ~1.2V LVDS.) >> >> P.S. VDD-SATA and VDD25-SATA also exist on A20, and by checking >> Banana Pi M1 (the original Banana Pi) schematics, VDD-SATA >> is connected to common VDD-SYS (called INTVDD on the >> schematics) and VDD25-SATA is connected to an always-on >> fixed LDO, maybe due to the lack of power outputs on AXP209. >> > >So we still need to add a regulator on the controller and add an >optionnal "phy" regulator for AHCI port. No, phy is not a part of the port. From the perspective of the users, phy is part of the controller. I still suggest generic multiple regulator support, to reduce sunxi-specified code. > > >_______________________________________________ >linux-arm-kernel mailing list >linux-arm-kernel@lists.infradead.org >http://lists.infradead.org/mailman/listinfo/linux-arm-kernel