Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3229214imu; Sat, 24 Nov 2018 00:36:20 -0800 (PST) X-Google-Smtp-Source: AFSGD/VjwIvlOAiKKyOgAERuhJyOZXLcMADpscKAaBHAjh2WKeo+vKZo0of0/CZmltvcptuTYeN6 X-Received: by 2002:a63:9a52:: with SMTP id e18mr17063106pgo.14.1543048580865; Sat, 24 Nov 2018 00:36:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543048580; cv=none; d=google.com; s=arc-20160816; b=N43gx8L5CAFPN23/521TE5uY7pPQXfOKfQJUVNIyyTKBPw5zYG5fL0Gatv1VF086Gn lmp8eUfr4eBFfmwAcdbcMQmGl0UFDpc4b8l+00PBMUpGJejtlKb+totq48XtFnQ+bldJ hDLC4HdNRsNIQiStE4gpmQ3Mylpq7OpA0swD60/wViesdEdN7rrdsbyPWNXOT7DG7SY7 MeGLF3ceQrBtCgcCdrA53cAlvBvxIPm2dG2ZHYI2G+1jdXxx5brDB8dPFPzkhv89H36M 6wJBSy69Cd5e0EqwlnRFClH0AxHlz8NbmCJAZaJn9ivO08mvMHzvDl//lSJbHZQWEVtS mEzg== 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=0+7sjnzFxnWCHvUyY435I2q+6Ivy5gFveXEBwf99Bjk=; b=jLIbpT30DYVxfMejAKe2XHysJreKMY8TZtHSNyIB2IDu8bw7kO0NdEyeAVqs4UZnuq yNPsVUdMKNLl0R2wiVSdbcmIaNkEVIShnXp3gSzmU6q/NpLKspzEGKEC/KJKX1l8loNj tM4kqn7MgDDO7ujr5bPUJWYOxI4oNHji6LryTww8V48G7ahbLASA39ituFLioqpDOdps JLtr1LyatwxduKXm0ozGkNqxty21sI0t6wnkEeiuzycui3uMgtL2B+OKO7V92V/gWlst hF45k4Yu/Xn4/ofcVnb64BG+/Lx4QZ5Zc3pxNK0IIssiw56Rg9aqLT7v9n/LoISXheeE nq/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=bA+d2bHu; 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 s59si16339614plb.237.2018.11.24.00.36.06; Sat, 24 Nov 2018 00:36:20 -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=bA+d2bHu; 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 S2394835AbeKXAPu (ORCPT + 99 others); Fri, 23 Nov 2018 19:15:50 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:37772 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388587AbeKXAPt (ORCPT ); Fri, 23 Nov 2018 19:15:49 -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=0+7sjnzFxnWCHvUyY435I2q+6Ivy5gFveXEBwf99Bjk=; b=bA+d2bHuhTcUMqwf9AI9zNcYQ s6mKYhmNkzH/84hN6JRBoCPReliRpqtJn/iVhAYFSZnW16zKCStLS5ktxkN6CVDe2fCzI4/akAcDm luwy9yk6JllPyLKYuygfBQxxx/gUMXTEyKZsaOHWIIvznLfkkOe43T9Bqwg6IFwAx+BEg=; Received: from [176.12.107.140] (helo=finisterre.ee.mobilebroadband) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gQBYP-00013i-1W; Fri, 23 Nov 2018 13:31:29 +0000 Received: by finisterre.ee.mobilebroadband (Postfix, from userid 1000) id 07610440078; Fri, 23 Nov 2018 13:31:27 +0000 (GMT) Date: Fri, 23 Nov 2018 13:31:26 +0000 From: Mark Brown To: Maxime Ripard Cc: Chen-Yu Tsai , Liam Girdwood , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Vasily Khoruzhick Subject: Re: [PATCH v9 1/8] ASoC: dt-bindings: sun50i-codec-analog: Add headphone amp regulator supply Message-ID: <20181123133126.GF2089@sirena.org.uk> References: <20181122102325.29495-1-wens@csie.org> <20181122102325.29495-2-wens@csie.org> <20181122153241.lzrwhkewg5q4hy2c@flea> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tWc6BTYdre847SEs" Content-Disposition: inline In-Reply-To: <20181122153241.lzrwhkewg5q4hy2c@flea> X-Cookie: No Canadian coins. 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 --tWc6BTYdre847SEs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Nov 22, 2018 at 04:32:41PM +0100, Maxime Ripard wrote: > On Thu, Nov 22, 2018 at 06:23:18PM +0800, Chen-Yu Tsai wrote: > > +- cpvdd-supply: Regulator supply for the headphone amplifier > I guess we should make this optional, since even if it's missing, it's > going to create a dummy regulator. and that allows to have backward > compatibility. Regulators should never be marked as optional unless they can be physically absent. It is true that Linux has code to handle partially defined device trees but we shouldn't rely on other OSs having similar code and it's better practice to have board device trees be fully specified, it means that if we need the regulator information for some future thing it's more likely to be there and it's less likely that bugs which do things like cause the regulator to be powered off incorrectly will be introduced in future. --tWc6BTYdre847SEs Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlv4AS4ACgkQJNaLcl1U h9AYIggAhg//WqT0GsO27SLAihrkB6m9aDOYxbNLf16kxManjIHvCNpKAyuOc+bn Go+pZkE9hZ83rkO86bfA5fMjkJnkjVmt8/k0nGyJqm9vH7jXh9qW9R7pBhCazgvG Pd9Va3ouJXI/HhcECJApYMPXS+DOn9fdS/HUeXcF5FyhEAbVwUsD7l3CZFxgO8n3 kzVevvyicXzRaYnnSJZMUBQM9INkFwAaPXBzLoYNre86eA/ktc//e4zXCVh1PMwx D2cExRRexfpU6QjlCvivVGYY5Qxk4qPMsmdaKD5b94HkVgFszXKjPHqOLobQ2wIA w02xpmRW28FVH2vYd/FlOHRfrMGzdQ== =9LaI -----END PGP SIGNATURE----- --tWc6BTYdre847SEs--