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=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 C778DC33CAA for ; Tue, 21 Jan 2020 04:37:44 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 7665622522 for ; Tue, 21 Jan 2020 04:37:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fsAd6ISz"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Y437XdOv" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7665622522 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oer/+37vzDs8cK8roOMLo7wydsSAh1KwnygOzAoDiJw=; b=fsAd6ISzd2Lr07 Qi6RalN5ozHkLv2BdooKqsYc979CAqtZwIvb5gsiVEIxa/qAK+RfblBIqeJSuGK2xScjyxMp/akxJ 45ZLYNXHmbWkIwQHqoEkuoa9htHrfHbYL4cWlFmc8U7h8NBOIrD1qi8Q89tFHrJZdquiI+jchVqol VuwzSU5Ml0mhtnjH6e7xsJhAeibEefUaTpbxpm8gLnfIW6dnKlTCekldJpeJr7XtDlSYpBFsremKS ODEnO6/cXiLmTO189V/ZY3YrFzc8SorreM7+sPPjVdBOtXNUaAKrCN8VKqXsiIETIGnOK11hnthvh Bu6Kmn6xKzlvfT8CtD8g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1itlIE-0003a6-QA; Tue, 21 Jan 2020 04:37:34 +0000 Received: from mail-qv1-xf43.google.com ([2607:f8b0:4864:20::f43]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1itlIB-0003Z5-Gm for linux-arm-kernel@lists.infradead.org; Tue, 21 Jan 2020 04:37:32 +0000 Received: by mail-qv1-xf43.google.com with SMTP id y8so850510qvk.6 for ; Mon, 20 Jan 2020 20:37:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tE6t4zYqaVXPST4AhwIQ9GsXTC/ddB8hjT5O44X4X2A=; b=Y437XdOv0Hto2lq+dzGstZ/dDsYcyHpK4I+DVf73M1v48j1EjilwkEp0HlSg8Iu9gL 0tTOS38rUYrM9yCpro7VwAwprgAfaJvNt0icSyt0cimanM+SnEp2Xre2R1C/rtGm8iVZ lRVWu7xtrpg+9KP77O5tLZX+QnE1zQQIxeaZk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tE6t4zYqaVXPST4AhwIQ9GsXTC/ddB8hjT5O44X4X2A=; b=ZW+4PmqcX5ic77oWnzmyWgu3NA1umt8aMIBBOJyA2O9ZVZT0oo37jITH5RD4kdDmbQ Gv94BHohQMNoG5T2NzSglld3Qffp1FjCWt7OH+FpZKy5VHnKLN4c6mCTdPFy6q3rB0MX a6ZuernHvCD2P6arIwgPoVZg9UT7K9haTeu6p38TucuUS9oX6KoBVGSfd6kNiO/OZm/f sHd+WE2j8xerAZVIokiFneqQCHeG2j62c2DkbSfUqSr1ib5lFBE4k5XN0isMtSuDfMD8 rJjW/ep0IYrVnPBaSuUqLQHdyYwhwly0PUcuIUjCW8oJsokOaRGbFEAsXB3waKZItszT xYdQ== X-Gm-Message-State: APjAAAWbv5ItnQImAdxv0S+BPp3a1TPRkbBJTh7rvryFe98i6eIKJD2I 4Fujw9mtsKatT0ZlkgFrRKqkgN56tM48Ar760blZpQ== X-Google-Smtp-Source: APXvYqzdl4VdxIrAynyQuScJnrpT9ZczyRYljUJVkw1OCPfHpQClTp+aKVQtQGPPLLXXuyebvlkJ/h7fxsuCkIoPT4Y= X-Received: by 2002:a0c:f703:: with SMTP id w3mr3120793qvn.6.1579581445521; Mon, 20 Jan 2020 20:37:25 -0800 (PST) MIME-Version: 1.0 References: <20200114071602.47627-1-drinkcat@chromium.org> <20200114071602.47627-5-drinkcat@chromium.org> <20200114151643.GW3897@sirena.org.uk> In-Reply-To: <20200114151643.GW3897@sirena.org.uk> From: Nicolas Boichat Date: Tue, 21 Jan 2020 11:37:14 +0700 Message-ID: Subject: Re: [PATCH v3 4/7] drm/panfrost: Add support for multiple regulators To: Mark Brown X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200120_203731_561801_AC04BD7E X-CRM114-Status: GOOD ( 14.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Devicetree List , Tomeu Vizoso , David Airlie , lkml , Liam Girdwood , dri-devel , Steven Price , Rob Herring , "moderated list:ARM/Mediatek SoC support" , Alyssa Rosenzweig , Daniel Vetter , Hsin-Yi Wang , Matthias Brugger , linux-arm Mailing List Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. Also, just a heads-up, I'm out for the next 2 weeks, I'll send v4 after that. > > Reviewed-by: Mark Brown _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel