Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp66351pxb; Mon, 13 Sep 2021 13:06:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcCmIqKI2YCPe5gQzJaCLx0r83UUSCXK5wSDLsj6Jn0A5871hPR4qS+xvmmwrjpH2/ISs3 X-Received: by 2002:a50:aa9c:: with SMTP id q28mr14783443edc.199.1631563580630; 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=NG3F4N8MnpsZhImuCTh6BHNAhhisB+9IYcoZuxOhrn8jiDpZHznLgqKI0bt5GwQrLH q1e09BqlQoIE//cv+WeVLme9MPWYHp034lLDomqFfYDGL6Nj82hZ7x9Po1YFo5PcUsca KhYE7yH+VzmmiJnoDyZxHXz1mloExhiXxCLFtx+eENfE919sJwW5w1OW+WAddQDkcCQI vTjn0QQRzPUem7vu9OqqN8GPHPr9sbq6fTqtYmHtHpw7IpVyQp+2/1YuyyxotV88bZX+ XGfx0Y+fUIvA3x9b7WnBL5h9H+qbD95o7dnWLqbs/9Ul9N+59ryG7iHEqD3WgM/hhpZn ZTDQ== 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=M3ro03lUqLorIoL1wY8pPmWjh8Jacx69dEpu5xyckNE=; b=K8Ahw6zO67NFOl4m84eOr7llNnsX44QtqH+3wpGPWBBTM8HOvA++/9CId2I/g7KQN8 pBgm3Osa0uBWsLzYUYs1643gKw1nfzJshGT7av77i1ooSkn9Ye7aEkHol5sWYOzkHHQl 9pRiv0358n4MyTeAeCJCF7X17ATSNSjOCCsGeUNJeG+O3MiDK/dzaQeTocjjF9qw6ejM e3YZFhXoyXzJnv4ABJ7qRNP814X3FSDEb4ckibpznYJOaD+LxY0Y5jXeXvf7enuY/a0g 8bvSd8LU0ALmNdrKx5+0w5KNjniKOQR3Bsc7oju8Tmj4lwMcJBJYFQtvzpx/8TH4XAEz /OvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="EXusgI/y"; 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 jz10si8105760ejc.758.2021.09.13.13.05.48; 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="EXusgI/y"; 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 S243697AbhIMNov (ORCPT + 99 others); Mon, 13 Sep 2021 09:44:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:41672 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242367AbhIMNjE (ORCPT ); Mon, 13 Sep 2021 09:39:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2250161214; Mon, 13 Sep 2021 13:28:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539728; bh=B+1pJREpddwhu0yskG83A91Mue0oyumPvS20fdLI4tc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EXusgI/yRBGxhi7K8Z/vr0+fLfjYnqcxNgbSlX4e+ei/InLKpt3dci2bbgqrKY/AJ W58EcfYg3NuoAY/OOjG1DpRbQlZyjhjsN5MI/asVzcXY0WyKHiw5v/c0/8PyON/HQo MLJjXM8DVgrvMMjA0FzngykPLmzISh4KFehnZKZ8= 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 105/236] ARM: dts: meson8b: odroidc1: Fix the pwm regulator supply properties Date: Mon, 13 Sep 2021 15:13:30 +0200 Message-Id: <20210913131103.911317506@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 876228e9f935f19c7afc7ba394d17e2ec9143b65 ] After enabling CONFIG_REGULATOR_DEBUG=y we observe 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: 524d96083b66 ("ARM: dts: meson8b: odroidc1: add the CPU voltage regulator") Fixes: 8bdf38be712d ("ARM: dts: meson8b: odroidc1: add the VDDEE regulator") Tested-by: Martin Blumenstingl Cc: Martin Blumenstingl Signed-off-by: Anand Moon Reviewed-by: Martin Blumenstingl [narmstrong: fixed typo in commit s/observer/observe/] Signed-off-by: Neil Armstrong Link: https://lore.kernel.org/r/20210705112358.3554-2-linux.amoon@gmail.com Signed-off-by: Sasha Levin --- arch/arm/boot/dts/meson8b-odroidc1.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index 5963566dbcc9..73ce1c13da24 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -136,7 +136,7 @@ regulator-min-microvolt = <860000>; regulator-max-microvolt = <1140000>; - vin-supply = <&p5v0>; + pwm-supply = <&p5v0>; pwms = <&pwm_cd 0 12218 0>; pwm-dutycycle-range = <91 0>; @@ -168,7 +168,7 @@ regulator-min-microvolt = <860000>; regulator-max-microvolt = <1140000>; - vin-supply = <&p5v0>; + pwm-supply = <&p5v0>; pwms = <&pwm_cd 1 12218 0>; pwm-dutycycle-range = <91 0>; -- 2.30.2