Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp1827111pxb; Mon, 13 Sep 2021 06:26:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxSiRfM01BguFo/8ilWupnR0xTjPZ7PQshCgd2H/yXV072Sz8jXNm1kOgEnU59MEOucamCC X-Received: by 2002:a05:6e02:1a8a:: with SMTP id k10mr7880102ilv.1.1631539583103; Mon, 13 Sep 2021 06:26:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631539583; cv=none; d=google.com; s=arc-20160816; b=zGC5AJ31eOwGNF2X7G4DyPopn4Q9vC3GTJOXPwkMQPtD2dh6HeX+AEv/OgdwLtklvK ML9XOxhZmqO97vJeYykH2Njc/gREovPekgMaT5bxWYKYhKPpUJNP8Bu9M6kQO1CnNlRG bt5St0QkxNjJmqBXyOxK7NUX57XgxflYp/ViW0gEtCREfAQoztop/sFoJ8W3cFkpTgnQ V0vff444V59FQSX6q3CND39oo8BAptJr6DVkVy4XPUEGbIXiNn79sJrybqJzhLXuf8AA +MgPCqxOAkT4G73b4z6linEOcrn/1BwIuR+r4q50IQWx4HQKxjsQ1/42CJlW+ytmL9Qt RG4g== 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=qeboWz44GrfDnMYKpWb/W4lG4zCbvjYdZK86VxWmBYQ=; b=YTg6EkiYqU9iknxpsX8A1LzMX4IXyJVdCz8yLnFfyAm0uuqnLxpzEeO+PxcvpDYuOQ gQKOlekLgdk0OgCItH8zc8KrCiRWponEnyT3oLRIVv9k/2UHGVQyy4ti7gOD3icYvxL1 mz9VMDZ9O0n/yb3V2gcIDltlxVn5Qz8NWNdu6hiYyEUPBIIBL6MHqO/whjUnvjtKl4PY FOV9frAEMONn+Gjy91rtaVvFq/p8En7Y7kYsfqFWPvZRxZAA3HxS4hTTnkLBx8Pl/MOJ zbaFABR+IbDrPn/bM+Iy7n6zMSslA/rvhzuolz0tTkm3crDwf/e7MHe61RM4UJD54MWQ 65Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YdX24zEQ; 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 i9si6353766ilc.6.2021.09.13.06.26.09; Mon, 13 Sep 2021 06:26:23 -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=YdX24zEQ; 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 S241843AbhIMNZ6 (ORCPT + 99 others); Mon, 13 Sep 2021 09:25:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:34836 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240560AbhIMNWM (ORCPT ); Mon, 13 Sep 2021 09:22:12 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9C40861165; Mon, 13 Sep 2021 13:20:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631539249; bh=YNcley9lhKLlU0/YDzyZr/Bcv02/j7nPzAc8OvPym3g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YdX24zEQahodIyVZiHzw8Jk6rrVuEvJEVBOUsKmKIIKOA2P1rJrICFidCuGk6muFs JVRG9Z/sur+NOtHAnXBsDAVV9RHwWLTNO93D0qhVgIvFLXKvlFeQjYx7VItJl/gzsd L2h3yF6n93mSvOH+q/3MA4uq56UCxmHDU3PzR38c= 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 066/144] ARM: dts: meson8b: odroidc1: Fix the pwm regulator supply properties Date: Mon, 13 Sep 2021 15:14:07 +0200 Message-Id: <20210913131050.174935972@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 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 0f9c71137bed..c413af9a7af8 100644 --- a/arch/arm/boot/dts/meson8b-odroidc1.dts +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts @@ -130,7 +130,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>; @@ -162,7 +162,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