Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp66349pxb; Mon, 13 Sep 2021 13:06:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJybQBE4YXdFmm5YnlVd85eXO06HGxznyn8At8VqWCc7cRzD2aNAZohclovsJYqhnJLEFbxz X-Received: by 2002:a05:6402:6cf:: with SMTP id n15mr14937792edy.85.1631563580648; Mon, 13 Sep 2021 13:06:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631563580; cv=none; d=google.com; s=arc-20160816; b=TlvrTT2DGbsHKgJfUaIKdtmG2TmxlvdM5TP8vrxUQyUUQwN+6X1V1CzE1qRCxIwjk7 9yHhO/oraCA94hLge40LRCRo7QBfPsj+MrAXDMI2K9rdw4Flxrt55DI5jZzba1EzEK1x zzKro71zXv5Q8pzGBa+Bsvic+TdyVx+0NM3Hib0g/O1rVz74hBGBUsE5A4glaBB4vZYS y5mRpMcThO1BJDN+DQ2RQgkEY0ED14IIEX8CJc83w+EmW+ni0tRF1stsOwYKCk8NUaaw duzxGYaL4exTHuqj6t6X4UzMN4V7f7Ae0zwf8nY+UwReIvleE5VROTR9byvgrHgD1V+y oK3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=IO3qlQQsisBqsWkBn4O0yCfvMknZaRKpqYB4+Zc+kgw=; b=r6c6SxPXw0DelOFz53XcvsIgAjdunOHVU1htTy8moSePeNUwpkf8z5QN8H7rYN7tcb NzlEDMrSothvjlFjy0fho1BpkUvwCqC2Tv/jNX8d29vsPStNEYsfXVUsXePpR02CXEX6 9x/8Mimpcen5qwUO5KwMCuLmSgIH8tbjw17hQPbBEGh5+NmxgBRG/MaCrLQMRa5ICsKU VqtY/Uz5J2E/cgQaCKsbXCgRo2a/Eie4qWHwSI2Jl6VVpzorr5+WPtvAntWdgCEaaH+y drZ0F8YSLTp4Dyr7o6Rvds6mcLx147DgjspRWwGBW8BXboYuc4yQbtrM4N9fpC3Ma1H4 WEaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yp6v7R4s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e20si8167990ejl.254.2021.09.13.13.05.47; Mon, 13 Sep 2021 13:06:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yp6v7R4s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243637AbhIMNot (ORCPT + 99 others); Mon, 13 Sep 2021 09:44:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:41696 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242387AbhIMNjF (ORCPT ); Mon, 13 Sep 2021 09:39:05 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C6DAD61269; Mon, 13 Sep 2021 13:28:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539731; bh=rFlRvjZRE1aT07Ifuu3D+ezIpe9hFK5+qxMSDR2Gtdc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yp6v7R4st1qW9gHl+LR31Pz8ezLCHmnccaMRuB3EFdEa0RKGQwuce90cmv/Xj0/vb i7CUYcjIOLLedZmU6COA0uF9y4PQ/LY18FItPibuuTwdPdCcNpcP87pruKScCCdry/ ctIjxcv/Pd8PeeokSq8GkN7wrmC6pUf0nlr1SEtk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Martin Blumenstingl , Anand Moon , Neil Armstrong , Sasha Levin Subject: [PATCH 5.10 106/236] ARM: dts: meson8b: mxq: Fix the pwm regulator supply properties Date: Mon, 13 Sep 2021 15:13:31 +0200 Message-Id: <20210913131103.945151250@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131100.316353015@linuxfoundation.org> References: <20210913131100.316353015@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anand Moon [ Upstream commit 632062e540becbbcb067523ec8bcadb1239d9578 ] After enabling CONFIG_REGULATOR_DEBUG=y we observer below debug logs. Changes help link VCCK and VDDEE pwm regulator to 5V regulator supply instead of dummy regulator. Add missing pwm-supply for regulator-vcck regulator node. [ 7.117140] pwm-regulator regulator-vcck: Looking up pwm-supply from device tree [ 7.117153] pwm-regulator regulator-vcck: Looking up pwm-supply property in node /regulator-vcck failed [ 7.117184] VCCK: supplied by regulator-dummy [ 7.117194] regulator-dummy: could not add device link regulator.8: -ENOENT [ 7.117266] VCCK: 860 <--> 1140 mV at 986 mV, enabled [ 7.118498] VDDEE: will resolve supply early: pwm [ 7.118515] pwm-regulator regulator-vddee: Looking up pwm-supply from device tree [ 7.118526] pwm-regulator regulator-vddee: Looking up pwm-supply property in node /regulator-vddee failed [ 7.118553] VDDEE: supplied by regulator-dummy [ 7.118563] regulator-dummy: could not add device link regulator.9: -ENOENT Fixes: dee51cd0d2e8 ("ARM: dts: meson8b: mxq: add the VDDEE regulator") Fixes: d94f60e3dfa0 ("ARM: dts: meson8b: mxq: improve support for the TRONFY MXQ S805") Cc: Martin Blumenstingl Signed-off-by: Anand Moon Reviewed-by: Martin Blumenstingl Signed-off-by: Neil Armstrong Link: https://lore.kernel.org/r/20210705112358.3554-3-linux.amoon@gmail.com Signed-off-by: Sasha Levin --- arch/arm/boot/dts/meson8b-mxq.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/meson8b-mxq.dts b/arch/arm/boot/dts/meson8b-mxq.dts index 33037ef62d0a..b2edac1fce6d 100644 --- a/arch/arm/boot/dts/meson8b-mxq.dts +++ b/arch/arm/boot/dts/meson8b-mxq.dts @@ -39,6 +39,8 @@ regulator-min-microvolt = <860000>; regulator-max-microvolt = <1140000>; + pwm-supply = <&vcc_5v>; + pwms = <&pwm_cd 0 1148 0>; pwm-dutycycle-range = <100 0>; @@ -84,7 +86,7 @@ regulator-min-microvolt = <860000>; regulator-max-microvolt = <1140000>; - vin-supply = <&vcc_5v>; + pwm-supply = <&vcc_5v>; pwms = <&pwm_cd 1 1148 0>; pwm-dutycycle-range = <100 0>; -- 2.30.2