Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp920463imj; Sat, 9 Feb 2019 10:49:04 -0800 (PST) X-Google-Smtp-Source: AHgI3IYwIvnsGmaFNIzdy5zmldprJPSd2Ru9u0WLgNLVOCX5SsM4nbOENbJ3JOktXqIKNTJk5foQ X-Received: by 2002:a63:524c:: with SMTP id s12mr26404494pgl.437.1549738144321; Sat, 09 Feb 2019 10:49:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549738144; cv=none; d=google.com; s=arc-20160816; b=lmyOfrzEckjFZSUAVyNlt0juXSN9Gme/NGf7NSOQ+Nhh++5Tqvu4A4IQ+bauABETNk wZlCThuCuPVF0g5g0fHgVyv0OOEDHFQyJtELrT/GngbWkyyWhEzTEAm4tPfrTJAyykRa HEHF4MK9+0ZXxNGJTCfIa0AGbAS7UkFl169tbRYegEodZig0fd7Qrwo/6FRFUR6QhdXm iat+hBrC2dovaY6rsVmGg+UpNSwMEMrf8/BLexe7hibw95oZESy+csmR+2WStvr4vsjh PNC9WPUgvF9rgjQtmSr0ll+v7q5StdjSPvdcVCiTfH/8msmUmOAm1fusegELBTqPwqVV kFGQ== 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=k7XhtQFwUBTnWqTpz81e5jubodv03FNKR/AdIS3gQ5E=; b=ShM0C+equw6fhbQaTj+pWAH3ytG8BoIv4BX7clzs8hKUAZP1Y8RdI/Djy1mi7L4aSG 6Fz9kG+svM0eWaEdwTTfdmoQ7zyn5GfDgYWHemL22fdpNcFvpmFH82xp5sVZOaR336F7 A3T/2g9qpkmhAk5YxfdKYMaevxYMCFPDeju3l6R6INMnYRz+Ur1MsUeKz/3+86fw7ijD TJTItS/cDxZe0YgAYEgTCghCQ/HJqH1XwebN8CdUpSlLfG4Rn9MxelE41MsDaEynMK52 M4HsqW2gP+aSFqT1vTHaRFYJdQy/pM1noeZ4lSFc4wPmUfkm06YdLmfqBxWL24ElQNBf QWYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=y0USvc7M; 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 p75si5926782pfa.34.2019.02.09.10.48.49; Sat, 09 Feb 2019 10:49:04 -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=y0USvc7M; 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 S1727638AbfBISsT (ORCPT + 99 others); Sat, 9 Feb 2019 13:48:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:33054 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727549AbfBISsR (ORCPT ); Sat, 9 Feb 2019 13:48:17 -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 1EA6B2192C; Sat, 9 Feb 2019 18:48:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549738096; bh=M0xUpen9jh4L/GKMQsRT3zrXLHdG3/AzVdvPNJz22S4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=y0USvc7MCeddZZLAg2dxgLXjSLk9RES+Lpr52bSQf2v7U23NP5DWM3g+9Wjpg4nGM gVb8IJ/fkmfQN+kCobS+QSCOUwgSWUUhc5Chfxmmqf8LJjT0i04nyZV/mYjok8mjbi J4ZXKcfNNb4QutjtyO16fm/9deb4UnTyHpFP/ZM8= 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 31/42] ARM: dts: da850-lcdk: Correct the audio codec regulators Date: Sat, 9 Feb 2019 13:47:23 -0500 Message-Id: <20190209184734.125935-31-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 bd540ebe68c3017194a1caa38e075bbbc0832749 ] 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: Invalid supply voltage(s) AVDD: -22, DVDD: -22 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-lcdk.dts | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts index 0177e3ed20fe..c196e37606c4 100644 --- a/arch/arm/boot/dts/da850-lcdk.dts +++ b/arch/arm/boot/dts/da850-lcdk.dts @@ -39,6 +39,36 @@ }; }; + vcc_5vd: fixedregulator-vcc_5vd { + compatible = "regulator-fixed"; + regulator-name = "vcc_5vd"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-boot-on; + }; + + vcc_3v3d: fixedregulator-vcc_3v3d { + /* TPS650250 - VDCDC1 */ + compatible = "regulator-fixed"; + regulator-name = "vcc_3v3d"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + vin-supply = <&vcc_5vd>; + regulator-always-on; + regulator-boot-on; + }; + + vcc_1v8d: fixedregulator-vcc_1v8d { + /* TPS650250 - VDCDC2 */ + compatible = "regulator-fixed"; + regulator-name = "vcc_1v8d"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vcc_5vd>; + regulator-always-on; + regulator-boot-on; + }; + sound { compatible = "simple-audio-card"; simple-audio-card,name = "DA850/OMAP-L138 LCDK"; @@ -221,6 +251,12 @@ compatible = "ti,tlv320aic3106"; reg = <0x18>; status = "okay"; + + /* Regulators */ + IOVDD-supply = <&vcc_3v3d>; + AVDD-supply = <&vcc_3v3d>; + DRVDD-supply = <&vcc_3v3d>; + DVDD-supply = <&vcc_1v8d>; }; }; -- 2.19.1