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 X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 129D1C33CB8 for ; Wed, 22 Jan 2020 13:40:06 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E2ECA20704 for ; Wed, 22 Jan 2020 13:40:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E2ECA20704 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 343E56E511; Wed, 22 Jan 2020 13:40:05 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by gabe.freedesktop.org (Postfix) with ESMTP id 33F2F6E511 for ; Wed, 22 Jan 2020 13:40:04 +0000 (UTC) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 991D3328; Wed, 22 Jan 2020 05:40:03 -0800 (PST) Received: from [10.37.8.106] (unknown [10.37.8.106]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 740A23F52E; Wed, 22 Jan 2020 05:40:00 -0800 (PST) Subject: Re: [PATCH v3 4/7] drm/panfrost: Add support for multiple regulators To: Nicolas Boichat , Mark Brown References: <20200114071602.47627-1-drinkcat@chromium.org> <20200114071602.47627-5-drinkcat@chromium.org> <20200114151643.GW3897@sirena.org.uk> From: Steven Price Message-ID: <78d5d977-50d5-f28e-0c4c-fd1df9e868e9@arm.com> Date: Wed, 22 Jan 2020 13:40:03 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Devicetree List , Tomeu Vizoso , David Airlie , lkml , dri-devel , Liam Girdwood , Rob Herring , "moderated list:ARM/Mediatek SoC support" , Alyssa Rosenzweig , Hsin-Yi Wang , Matthias Brugger , linux-arm Mailing List Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 21/01/2020 04:37, Nicolas Boichat wrote: > On Tue, Jan 14, 2020 at 10:16 PM Mark Brown wrote: >> >> On Tue, Jan 14, 2020 at 03:15:59PM +0800, Nicolas Boichat wrote: >> >>> - I couldn't find a way to detect the number of regulators in the >>> device tree, if we wanted to refuse to probe the device if there >>> are too many regulators, which might be required for safety, see >>> the thread on v2 [1]. >> >> You'd need to enumerate all the properties of the device and look >> for things matching *-supply. > > I see ,-) I was hoping for something slightly cleaner, or maybe an > existing function in the core. > > Steven: How strongly do you feel about this? If so I can add that > check in the next revision. I'm not that strongly bothered about it - my only worry is that there may be hardware out there that might be broken by not activating a regulator. But I don't know how common this multi-regulator design is in practise. Thanks, Steve > Also, just a heads-up, I'm out for the next 2 weeks, I'll send v4 after that. > >> >> Reviewed-by: Mark Brown > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/dri-devel > _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel