Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1840745pxb; Mon, 13 Sep 2021 06:43:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvdsJLeRzTlx7YwbSQBqsAUfAeB34FUbzL0ieaCPAQZl/8m4WSYLlkjnuey6A0M7nKAW5O X-Received: by 2002:a6b:e604:: with SMTP id g4mr8899260ioh.148.1631540586712; Mon, 13 Sep 2021 06:43:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631540586; cv=none; d=google.com; s=arc-20160816; b=e2Gn9pfg5142scVu8RqcRi7tv6QPDvbLa9D6QgJZMtmY4SlM/15YBh1tiQX/mK6xTI J8M7qWohIusN1r/DrjLE6Ma91u+njhyYjAxAmQp6UzqfDZBKlWZhVvHq0Bw53sS+UABx ChX9371Uo/Xsq3MkpKShuOqFOPK2c2vDejXc6lHYUHdBIKGkuF0waUHmWU24qVL4p78A tEbnZJIopbZB3Pl8ka5qqCM/4ohMK2IhgVyBoCArvWUNQFHsl3l1pe1fr9ocMe66OWcw BBGOVo6aXKMF9m26xVGjNmxjrLPaxNB/Kc7Ljrt3UnQNod3CeBUApbo6uLhMpfJWce5W 8dyA== 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=v8xh2830f2bZzIDSy4NA84KguoRx6X6M2QQpOts7McY=; b=MaWHxhh7iHed51zsYE9ckDsNKbLSkAFh0rd5J2Ks/IwdjSTUuPXBg4UnSAfywpZejg oaSks8YpdMvRMjkau2TP80aJveQKhNTMPunfLBePh9IRVOj9hf2y7GTpANQeXelbIYzv dCoT0QprjjhUeO9ojxWPp2ELRBBZZr5TZ+qNgvpH578MKv/x+oxdGiH4oPGrFOPx56p+ /BxbYL1B9gnv37L4DMFUOjYOlP553TwZA1MpJa5bF3kSJns8/jnhyRuSQjPb/GBMBENL fIu/CSJc87bRL+oRFyuKMSqVOcNsaN+eHQYT7Wh6ajDPdoTSdCzQeiC66vNWCN4jgcFP j9zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=UVuEFd4a; 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 k3si6624864ilh.76.2021.09.13.06.42.54; Mon, 13 Sep 2021 06:43:06 -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=UVuEFd4a; 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 S243039AbhIMNlx (ORCPT + 99 others); Mon, 13 Sep 2021 09:41:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:37702 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242100AbhIMNgS (ORCPT ); Mon, 13 Sep 2021 09:36:18 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BC768613A9; Mon, 13 Sep 2021 13:27:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539651; bh=YW0UZrB/ve49gjnkW0gs0wDQXwbMnRBi3A6McxDpcbI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UVuEFd4a61jngVg3B19RQKgQULvUe35meEvIBAKSEvGxDiviHUYhp873iLJXej8Am brnKkT6UbzXhPEBI8nb4nu1Fj1bzyX+U5V/nw/fhdzWB5Oq+IW63TFCrcM4FGGRR8j xQpc8gEPQAkRClio/l0FnSfDe26P3BwEr9g/1hok= 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 107/236] ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties Date: Mon, 13 Sep 2021 15:13:32 +0200 Message-Id: <20210913131103.976499350@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 72ccc373b064ae3ac0c5b5f2306069b60ca118df ] 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. [ 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: 087a1d8b4e4c ("ARM: dts: meson8b: ec100: add the VDDEE regulator") Fixes: 3e7db1c1b7a3 ("ARM: dts: meson8b: ec100: improve the description of the regulators") 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-4-linux.amoon@gmail.com Signed-off-by: Sasha Levin --- arch/arm/boot/dts/meson8b-ec100.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/meson8b-ec100.dts b/arch/arm/boot/dts/meson8b-ec100.dts index ed06102a4014..c6824d26dbbf 100644 --- a/arch/arm/boot/dts/meson8b-ec100.dts +++ b/arch/arm/boot/dts/meson8b-ec100.dts @@ -153,7 +153,7 @@ regulator-min-microvolt = <860000>; regulator-max-microvolt = <1140000>; - vin-supply = <&vcc_5v>; + pwm-supply = <&vcc_5v>; pwms = <&pwm_cd 0 1148 0>; pwm-dutycycle-range = <100 0>; @@ -237,7 +237,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