Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp925454imj; Sat, 9 Feb 2019 10:57:05 -0800 (PST) X-Google-Smtp-Source: AHgI3IbPydah82dZ/hiEDMSNt689HwYzRljzuPR5Dnp23ltfaMKPMWFN1/5jpWx5MmXtsw5jxJQc X-Received: by 2002:a63:515d:: with SMTP id r29mr2560604pgl.350.1549738625655; Sat, 09 Feb 2019 10:57:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549738625; cv=none; d=google.com; s=arc-20160816; b=lK0XR0KFhKqg1kojXYjhVjYWuMmFoCRdN4lXyywRm2CpwJLD4lCHVePkPm6yIQJ8Ni Reo0HkF0Bix/b1uLWyuOURdQbNfeddPEOsB5UesVpQq5ahuIXi2Q7tROFcFTlUYL631t 7gU4ADuTt/n5w4MJ5cJxKnaD6L4iNMoasKCTsUnFyYm18/6jQ0J1iBr7PNU6zN+dp+1m imsrpYl1MEU7CAJ6hHu1tCrNM3VP6TBHO+q+79H24zmMkfQjTLo9a6XOXLotiJq387NR zzOD1Peb6Vo7gtGGVwWhlmiYadGtDfIVbtBJ5WkIyZBLUVUPgfRBbCzqZwGbr5y/rxT1 YFCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=lVnzZorKXpZtI2sqYx0j2vEDovJQ2dHVo7cua5kT5Pg=; b=o8iRCHTNDLvEsw9hEmHxmxqDH7lCMDdzyXsgrh2ks1Hjs3m7uqY/b8jtMSF0rd9zOB 5e/0tCm+VsXPfdlwIMRoxfwaZDieb6DNX3Rl+qE/4ecyqSt/x8ARb9rf6B+aeChdUuHb 7Qxrm80P0QqbKu7wMhkULvOeL/wE6pcjUIR5YIb+shxHPi8BvvWX9KhJlfVYyA0vEy2N mQjadpq89dep4XPYt8W0GNc37vANomwkp3Ur+GR3EIZeyLztoOQts6RDj0oxfuLr9xJ6 kUNPCLaVVegnzjmCIKVoRyTrRvsQwUPPMK8ZRQG/SDtDQhbz+oBYXC3Fr/AdK4snozWj 6h0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=X09HVPEh; 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=pass (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 ck6si7054583plb.298.2019.02.09.10.56.50; Sat, 09 Feb 2019 10:57:05 -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=pass header.i=@kernel.org header.s=default header.b=X09HVPEh; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727615AbfBISsQ (ORCPT + 99 others); Sat, 9 Feb 2019 13:48:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:33006 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727549AbfBISsP (ORCPT ); Sat, 9 Feb 2019 13:48:15 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C1C1B21934; Sat, 9 Feb 2019 18:48:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549738094; bh=R5YUPGIzmUvILUQcvRXLlaZ/DbS53cFZHRjFvSAlZFk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=X09HVPEhyiqYf1yp2OXRmuPMvNwpebX1PGh+ejLxBPt//VB0gzUY08grRxiMxHahb K4F4xiPY6hDbTpSB3zMvZmxkeLfzEJG3Nwmxmo1ev6FygY/k5uVtuuayaWdhtDVAAa y8x7FjTPDQSsx0TQ651M2rXaBZj32a9mV2Z6vWww= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Peter Ujfalusi , Sekhar Nori , Sasha Levin , devicetree@vger.kernel.org Subject: [PATCH AUTOSEL 4.20 29/42] ARM: dts: da850-evm: Correct the audio codec regulators Date: Sat, 9 Feb 2019 13:47:21 -0500 Message-Id: <20190209184734.125935-29-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190209184734.125935-1-sashal@kernel.org> References: <20190209184734.125935-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peter Ujfalusi [ Upstream commit 706edaa88835e3d8de8920584ad5da76dd3d6666 ] Add the board level fixed regulators for 3.3V and 1.8V which is used to power - among other things - the tlv320aic3106 codec. Apart from removing the following warning during boot: tlv320aic3x-codec 0-0018: Too high supply voltage(s) AVDD: 5000000, DVDD: 5000000 With the correct voltages the driver can select correct OCMV value to reduce pop noise. Signed-off-by: Peter Ujfalusi Signed-off-by: Sekhar Nori Signed-off-by: Sasha Levin --- arch/arm/boot/dts/da850-evm.dts | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/da850-evm.dts b/arch/arm/boot/dts/da850-evm.dts index a3c9b346721d..482a54587b44 100644 --- a/arch/arm/boot/dts/da850-evm.dts +++ b/arch/arm/boot/dts/da850-evm.dts @@ -94,6 +94,28 @@ regulator-boot-on; }; + baseboard_3v3: fixedregulator-3v3 { + /* TPS73701DCQ */ + compatible = "regulator-fixed"; + regulator-name = "baseboard_3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vbat>; + regulator-always-on; + regulator-boot-on; + }; + + baseboard_1v8: fixedregulator-1v8 { + /* TPS73701DCQ */ + compatible = "regulator-fixed"; + regulator-name = "baseboard_1v8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vbat>; + regulator-always-on; + regulator-boot-on; + }; + backlight_lcd: backlight-regulator { compatible = "regulator-fixed"; regulator-name = "lcd_backlight_pwr"; @@ -210,10 +232,9 @@ /* Regulators */ IOVDD-supply = <&vdcdc2_reg>; - /* Derived from VBAT: Baseboard 3.3V / 1.8V */ - AVDD-supply = <&vbat>; - DRVDD-supply = <&vbat>; - DVDD-supply = <&vbat>; + AVDD-supply = <&baseboard_3v3>; + DRVDD-supply = <&baseboard_3v3>; + DVDD-supply = <&baseboard_1v8>; }; tca6416: gpio@20 { compatible = "ti,tca6416"; -- 2.19.1