From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1E043C54EAA for ; Fri, 27 Jan 2023 21:01:34 +0000 (UTC) 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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=uDx52oupFPO7kZZB977+uDvMz59Mti6kK+xyAqAbaWY=; b=DuSv1hy+X/8inL 028X7VD0cUOVM2n+Epdpw05TVQPU4acshQ4oY3AN41ds3vsOMx/fhg4/iXntNTRINEjYdyePQSsCh Qg+L/wp4pgRcwwSlULkRPJeckOKfvG4gJVKQyZnpTrd4ZEf67Zy3PzZq5ymwiMPtQKLIo29UEH2hb Kxp5jThmPXp69IF+meuBWSjt+E8e4ugfkwxzDfGr8MrzY7fU9qM3ie+gAYCJrt43xRvPAi+p00+Uu 1JaLGkQo/D1tfth5ymeDD9qP/LAMGrRN4CDh+grgyVSCrsbo3M4i0T7kO6M3800u8+PLkzcQFvsj+ hrjNlZ9Ifrv8xLQHI/cQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLVpl-00GT7M-WE; Fri, 27 Jan 2023 21:00:30 +0000 Received: from mail-ej1-x634.google.com ([2a00:1450:4864:20::634]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pLVph-00GT5t-PK for linux-arm-kernel@lists.infradead.org; Fri, 27 Jan 2023 21:00:27 +0000 Received: by mail-ej1-x634.google.com with SMTP id v6so16983557ejg.6 for ; Fri, 27 Jan 2023 13:00:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=djfs4PGRa1CvWKMLKsAcAD0oTIU9m9WrTGUWf83xgvI=; b=Mlt+GejfxFYxZRl4TgvhYecgrJ7r2Z/6dau1C24sH4c46kceboL/nH+nWnN6RlgrFJ VB8FfyGN8cGJ2t9ZGriQMRFP7KJZbMs6nGXCO4GLPzCeQhqOW9ryzkFfeUz1z+hYlju9 wnFbobDIj1inUwhY6JmubqeuqazZ8/UdoGrfEUPS8iv7h/lay3vPdX5+KY8T6QfRUlT9 /YZFl6vckk81awOTrHMUrS6VlQkVVcf6hOUuyMzrfkdOCJr/Cx/y6AyFPYhSSrDSvfZ5 67kGKmZ3clK9LS8mlz+sCvvhUlojrnyWwpMs64/CMIPbtRnsfBraSAi7BqKRTfF3tKOZ TFww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=djfs4PGRa1CvWKMLKsAcAD0oTIU9m9WrTGUWf83xgvI=; b=qVUtJArECr3bMK20wgf805UA5eIm1FGf1ESjBg0hDhV163SnZ0h2b796fqVdOmWi3P lWs8w7UKsAsPDaQqtKbWKADAAJZJ3rRuoux3B2WCoNN5O/DJIoToPVIDgiRafA7eucy/ 1twDQeNAs5UrX9L1rSpgEbFAWnyLlM5BguYTUEyfm8YfpOIzGC+xNT4Gh1l3Dbt44v4u e76Ha1qYD+kFu5+gXHi3EN1b/DEV6hKWRyhg0Jn22utE0WI/1LRlYgqp9qFkuaMCSZ4C 5Vlz3N9Twpzb0njgiK9ae5kzNUxhmfX8ZHZ3fzQSKj1QbA5/wFe1ABm05V/In+edKkd7 EsvA== X-Gm-Message-State: AO0yUKVsgQ/0CTOOsN1EtN1/vwq2QFO0YU4FWHEzMNkyC1c4O6mPQldr xfk8f3d0jqE1+49ABfsJYYw= X-Google-Smtp-Source: AK7set9mMQd5iBzzeDEzNyKR84lEscSavBnXhcfmZFSjVpVHw7P6HLc90KeABnq34XLhOwJnQtSZqA== X-Received: by 2002:a17:907:3e90:b0:87b:dacb:f0a4 with SMTP id hs16-20020a1709073e9000b0087bdacbf0a4mr3910174ejc.62.1674853223478; Fri, 27 Jan 2023 13:00:23 -0800 (PST) Received: from jernej-laptop.localnet (82-149-19-102.dynamic.telemach.net. [82.149.19.102]) by smtp.gmail.com with ESMTPSA id t17-20020aa7d711000000b0049dc0123f29sm2876394edq.61.2023.01.27.13.00.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Jan 2023 13:00:22 -0800 (PST) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Rob Herring , Krzysztof Kozlowski , Chen-Yu Tsai , Samuel Holland , Andre Przywara Cc: linux-sunxi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: Re: [PATCH] ARM: dts: sun8i: a83t: bananapi-m3: describe SATA disk regulator Date: Fri, 27 Jan 2023 22:00:19 +0100 Message-ID: <5899301.lOV4Wx5bFT@jernej-laptop> In-Reply-To: <20230120012616.30960-1-andre.przywara@arm.com> References: <20230120012616.30960-1-andre.przywara@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230127_130025_876718_1860A774 X-CRM114-Status: GOOD ( 14.18 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Dne petek, 20. januar 2023 ob 02:26:16 CET je Andre Przywara napisal(a): > The Bananapi-M3 has a SATA connector, driven by a USB-to-SATA bridge > soldered on the board. The power for the SATA device is provided by a > GPIO controlled regulator. Since the SATA device is behind USB, it has > no DT node, so we never described this regulator. Instead U-Boot was > turning this on in a rather hackish way, which we now want to get rid of. > On top of that it seems fragile to leave this GPIO undescribed, as > userland could claim it and turn the disk off. > > Add a fixed regulator, controlled by the PD25 GPIO, and mark it as > always-on. This would mimic the current situation, but in a safer way, > and would allow U-Boot to drop the CONFIG_SATAPWR enable hack. > > Signed-off-by: Andre Przywara Applied, thanks! Best regards, Jernej _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel