Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5335780ybl; Tue, 14 Jan 2020 07:18:59 -0800 (PST) X-Google-Smtp-Source: APXvYqySS0DUW7HAtSS+v8mARYJdxMc5k4LEp71xBXkKbcR/Y1JKYo96KHivFm3InT1oISlNizyt X-Received: by 2002:aca:a997:: with SMTP id s145mr987870oie.71.1579015139753; Tue, 14 Jan 2020 07:18:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579015139; cv=none; d=google.com; s=arc-20160816; b=tscRiO1KDjSy5b+tuSdE2DStejizeFnjzmmF1TrNS4L76hw1/rQFBVOc9jhJWnIskz QU3E9y6L0BfIEiBSph4jIFXyGpLLh94KwQ0a5y9XBBlrKemyAk0epzzDo1bI1TgKA8Wd mTtSWnUN474TVKlwUyYWPSRynjrHrgXSHBd4d8ggP+JGQPC1kzOb1mwwqcuZJ9cXWAkA 8u9NV+nR9zyjZhgjBzN1IFbvzatF04kxAkK1+Zfl9VGeaS5l7QNozMtLDkiwtQWGPRsd fflZQgW2gDo8ew7SJle4GBA6fBDbviPQOi+nBGqWcQNaNqJOAn4J5NdJSFuRMVlV7wT0 fSTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=K15TeIKz2iH2yNBaQfbFQ/2HZ43ycaI2mrMgjoB89W8=; b=FOklUFCSMxzRPykbkBg4bTz7ZW+PSVpjSDZH8qaJ/HMW3WdC8pM3zN4IYF5eHoFoQs YIGN7IkxpIoKt+tlqI0Ji6BgXZYVJlTWpqY9YXVKLDTIVc7cNAcWvLXcDaQx+NRUQHVE QHmljtwEOtwPeUpXpLzcQJ66eNrsBVuBLMf8e2Mi/5z7CCZBKFJg6YAI+A10XFKsTuYQ GHEIToTIozQN5lnW17sEt2w/XnyzN3wTiK1D7IH3YiBSnhQ57o4MGBjAUnJUrocrTpI3 b1tC1sGl5C87i4dklJwymrQ3O3Z1NCxtbdVqFmCFvzD5nX3q0toCxUChOOzM7DKoyxkG vMIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=eqqWHZPh; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y23si8694345oti.65.2020.01.14.07.18.48; Tue, 14 Jan 2020 07:18:59 -0800 (PST) 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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=eqqWHZPh; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729100AbgANPQx (ORCPT + 99 others); Tue, 14 Jan 2020 10:16:53 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:33484 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725904AbgANPQw (ORCPT ); Tue, 14 Jan 2020 10:16:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=K15TeIKz2iH2yNBaQfbFQ/2HZ43ycaI2mrMgjoB89W8=; b=eqqWHZPhE1xW0gJlR8rUqsdv+ 14x7EIh3mp7KCevqvc2W/P5xWtIynG2LI174Hi1s+Cl5gRYWHvrPZXBPtnxUpvTNSMeUEAtZCYsrU RXg2EFs3MZ+EQLZGh170vi1j1eAEhv9Ac9eR8jghkcbjKtQ4zgx89uVywSYcPvGB1uMW0=; Received: from fw-tnat-cam7.arm.com ([217.140.106.55] helo=fitzroy.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1irNvv-00004y-E7; Tue, 14 Jan 2020 15:16:43 +0000 Received: by fitzroy.sirena.org.uk (Postfix, from userid 1000) id 22C3ED04DF5; Tue, 14 Jan 2020 15:16:43 +0000 (GMT) Date: Tue, 14 Jan 2020 15:16:43 +0000 From: Mark Brown To: Nicolas Boichat Cc: Rob Herring , David Airlie , Daniel Vetter , Mark Rutland , Matthias Brugger , Tomeu Vizoso , Steven Price , Alyssa Rosenzweig , Liam Girdwood , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, hsinyi@chromium.org Subject: Re: [PATCH v3 4/7] drm/panfrost: Add support for multiple regulators Message-ID: <20200114151643.GW3897@sirena.org.uk> References: <20200114071602.47627-1-drinkcat@chromium.org> <20200114071602.47627-5-drinkcat@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="buDNgeHiu+HCsDEc" Content-Disposition: inline In-Reply-To: <20200114071602.47627-5-drinkcat@chromium.org> X-Cookie: Programming is an unnatural act. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --buDNgeHiu+HCsDEc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. Reviewed-by: Mark Brown --buDNgeHiu+HCsDEc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl4d21oACgkQJNaLcl1U h9CCOwf+K6UJ3dhSHND3Fpdx/IUgRmsJiK2V3jATceFWHdf8/BMeiNDYwD2U7i1q 3086jl6AsX+YoSVr7Y1z7U+i8sHs2E/x/bP9LjOzRAXLya+5rdefN2ngQZq1Deex AUlEQpjAk186CwzKC1OWLLmbBYRbo/avge9LcYp3eAFfUbv2kjv2QRPII2EspHzi Zs3Y57WJlZ7STEyx7rHHXWYqEv7IqhlIo1f2xZobE7MFBmsYCjYy9GMMexe6H2z4 zMbp8clRBhJ/+CeT06cbMK5/gPb1biOaPeFndjeQOSbO3hmvfi2F2w32lJZsad4x qAImcHOYwKX7KXoR1RoiFJO5kVdyaw== =l7/J -----END PGP SIGNATURE----- --buDNgeHiu+HCsDEc--