Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1825115pxb; Mon, 13 Sep 2021 06:24:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpj7NSNsiYkT52M6lcO/A8k4QhAmw5Ray8hI6UXpl1kHzhQL7TEKedjhRllmJHzFrQpJrH X-Received: by 2002:a5e:8a4a:: with SMTP id o10mr9038217iom.11.1631539453107; Mon, 13 Sep 2021 06:24:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631539453; cv=none; d=google.com; s=arc-20160816; b=zW73VsCnTD6gI07jBf4KRAU71d33GBae7oA8TRroz30EQgh7w8yZ4llqHQgPxIIF31 ZjJZuHqyZICz2ky5K4sHuceNC8pZlrfo0LNlakxAM2Uw/hDtU25tDmDs2VIjX+tbUl9w /8dzuoiRDTg8gVAExdk2m2uRp2b+7Ao2x1mqHlWgk+3akbS4dzIxahFrQ5dVN+aIaotL jSfCr4uNNFrOTjZwXgfOOgJhqFXYwETdT6mlzK2e1C5hufGvgniqUy1dDqIM3HC/K4Bf YK6h42idnLDyrPbKRojkhveT2Uy03G9GW6zXyEDIksub9MisZdb/K3HOgbfZVTKcRLry xCog== 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=1Bo/M/P4UxMdvj7oeUfxbgLeUcUImBWlNfFyBazWygk=; b=jSdEtpZjoOAM2fp5C8UIVZLSiNJ2fodrPevbeKJG8ZAQX61HrqhX00uP41HOYS1Lvo 00kh2V+yFx5CAY9Jzr8iYS5k1Z68H7eUsafCV0wRZMk0LgJJGRJVxMbzFxVYPNS5Iz2s PI8/wXntnAJQbiaEmAX8Eo5VienTJiI9N7xx94cvF6EsPLrex72g6VCyl4OMedUbfInn QE16ySGRPVrYeZdCv59pym0erOSV/CxA3mVw6cyp3HW346M3FMcBTS22sJPH2Zh1/FXh nF1+mk8tPt0gK78rSJ0oXYBOovqrsTN1MTYbfVqVKpOzeh2H33Bmrsol03yPN9bLXDUL 8j7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2Dnly+11; 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 h15si6259274jaa.28.2021.09.13.06.24.00; Mon, 13 Sep 2021 06:24:13 -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=2Dnly+11; 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 S241066AbhIMNWj (ORCPT + 99 others); Mon, 13 Sep 2021 09:22:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:34852 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240569AbhIMNVB (ORCPT ); Mon, 13 Sep 2021 09:21:01 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3DFE7610FB; Mon, 13 Sep 2021 13:19:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539170; bh=WpWR6Jnd66/Sp0XYW6yeDZUwNDuCp9wHal6LvHwcmeM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2Dnly+11u7L6rw7uaLYCwmjZ20ZTA1xvmOVvB3raTE5tIkzFayuW1DJnPyTkwS7eT sLgpuN6ReM8R9a8dkQTcfaLlRlojqW2ZzJl5qdybLuABG1B3rAjQb3K2o9NCB1dZaJ Fi6WlnZ8s0/Jr9UKumCLPmcPDzoCNSCFS6EH4sAI= 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.4 068/144] ARM: dts: meson8b: ec100: Fix the pwm regulator supply properties Date: Mon, 13 Sep 2021 15:14:09 +0200 Message-Id: <20210913131050.238738622@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210913131047.974309396@linuxfoundation.org> References: <20210913131047.974309396@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 bed1dfef1985..32d1c322dbc6 100644 --- a/arch/arm/boot/dts/meson8b-ec100.dts +++ b/arch/arm/boot/dts/meson8b-ec100.dts @@ -148,7 +148,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>; @@ -232,7 +232,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