From nobody Sat Nov 30 03:42:18 2024 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 678971AE875 for ; Wed, 11 Sep 2024 17:19:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726075163; cv=none; b=lkn8KLHA0qUvtdgJR3fakHkUgpPpB/w2GVzkOImrC2uN+WMDcWZ7olVvawanxcueyvIb6M4uGXytEnxQL+ivssldPejsmUVQsipxvgitJHnGFkxM3HyQUqewY02GIpQ2WWj9+EM7lTDmOnEp9ye47qEY/EsPdnxW1XAl4nDCGog= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726075163; c=relaxed/simple; bh=abcrX04S0JTXsgAYb6JWyW1rcVXIVGJKB6zjLZV0boc=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uRgNKKcVo6FOBvhGsBCRoqV23NLD8yDzoW86AubuOa9Vftbz7slUKBLbUmaaAo9AIItiJ4pfAGZmetT8a0STpcf7pT5sztWWejMTQ72VPVL6xY9DbVf9d0XQHFSPEzJWBZzOYsjii1iqHWXArMW9VATYDmGt9OKuRQCshtDQN5c= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=B9L5M+wT; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="B9L5M+wT" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726075160; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5r0R22whOOpUU0/9fd/RJw7tJIiR67N6A+jwL4ueXwo=; b=B9L5M+wT9vOhIo5NeqVCMSc3Nc7jRUbRYGKz/jMPXLqT4ZKS/5cAeHf7KOXdxJqXrqY8gD h6w8h4ltAorhd27algwDo5hH2f5Ud29gfrlol1Ks7Sgw49BVeLGXoOI1LxNrsDMnP90LvV z4D74ugAWGOmmXuzZu46H7Ao4lTO2ig= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-633-xfUjycGVPleCuU5FJBdJIQ-1; Wed, 11 Sep 2024 13:19:19 -0400 X-MC-Unique: xfUjycGVPleCuU5FJBdJIQ-1 Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-7a9a176519aso24314585a.0 for ; Wed, 11 Sep 2024 10:19:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726075158; x=1726679958; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5r0R22whOOpUU0/9fd/RJw7tJIiR67N6A+jwL4ueXwo=; b=GF5Lef1TdnTWcr1soG3640WWVvhHS79Z35NEkaor1Cj5SJ5OHWORjzo5GzBwuzjGpt aDUTwZLPkCw5KxvdogH/zCnY8Jxu6ovTd6pL30di8QAFvZUs02tAp7fmCwK8Rx6ZkgC0 331Z3qLgPYtdJQ35/va4Ef/bXBHbleA0GfXof++fjswIfeZSxAqzlnUwkOz5opeUcl+H SmtFl4DxwwIYIPBxGQGzC/yhJ+36bBjlKa7v/zql8KSJcmSdQj9ppYhxjczoXH2+sUnn 5yViwAfjIWfSnhnOzHRi6G1WpwYF1bOCCv6+N+vqjqafVNFAAJnAZ+ipqdmCkbua/OAD q23A== X-Forwarded-Encrypted: i=1; AJvYcCUTvQFp0dKy5DIsHyH0Ip+OzeWWJju0BeXnyKmZJhblQ8qv7AtFZvyK1fuVaHAB7r42M8epdofKrzghDjk=@vger.kernel.org X-Gm-Message-State: AOJu0Yytd0H2KGWzhMZ/mhpGfnJBhi8anEDYn8rREN1/H9yGSSPKA6+L h3aUKWsv9uP9UmUXoYDd3W8fl7LyGIYX28aAQWwvHM8Q7Ews2HCHdWqYQ0ABRVnUL9j3T23SM80 16XaD9H9DnbqnzZJBaFvRXIYwm80xsGaU/Rx+0CSYcjDbVkTaHw7etp2vK+tDqg== X-Received: by 2002:a05:620a:45a2:b0:7a9:bdac:63f9 with SMTP id af79cd13be357-7a9e5ee71c2mr16433685a.10.1726075158735; Wed, 11 Sep 2024 10:19:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHQYXLI8KOJIn2GMl4Oknyi9IRx8MU0moKXYKqiignhkPAmPYGPwQezF6PHsSmYBJBoSUrLIA== X-Received: by 2002:a05:620a:45a2:b0:7a9:bdac:63f9 with SMTP id af79cd13be357-7a9e5ee71c2mr16429985a.10.1726075158322; Wed, 11 Sep 2024 10:19:18 -0700 (PDT) Received: from x1gen2nano.local ([2600:1700:1ff0:d0e0::33]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a9a7946b8dsm444433285a.17.2024.09.11.10.19.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 10:19:17 -0700 (PDT) From: Andrew Halaney Date: Wed, 11 Sep 2024 12:19:02 -0500 Subject: [PATCH v2 1/2] arm64: dts: ti: k3-j784s4-evm: Mark tps659413 regulators as bootph-all Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240911-j784s4-tps6594-bootph-v2-1-a83526264ab1@redhat.com> References: <20240911-j784s4-tps6594-bootph-v2-0-a83526264ab1@redhat.com> In-Reply-To: <20240911-j784s4-tps6594-bootph-v2-0-a83526264ab1@redhat.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Keerthy , Neha Malcom Francis , Eric Chanudet , Enric Balletbo , Udit Kumar , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Halaney X-Mailer: b4 0.14.1 In order for the MCU domain to access this PMIC, a regulator needs to be marked appropriately otherwise it is not seen by SPL and therefore not configured. This is necessary if the MCU domain is to program the TPS6594 MCU ESM state machine, which is required to wire up the watchdog in a manner that will reset the board. Signed-off-by: Andrew Halaney Tested-by: Udit Kumar --- arch/arm64/boot/dts/ti/k3-j784s4-evm.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts b/arch/arm64/boot/dts= /ti/k3-j784s4-evm.dts index 6695ebbcb4d0..6ed628c2884e 100644 --- a/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts +++ b/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts @@ -663,6 +663,7 @@ tps659413: pmic@48 { =20 regulators { bucka12: buck12 { + bootph-all; regulator-name =3D "vdd_ddr_1v1"; regulator-min-microvolt =3D <1100000>; regulator-max-microvolt =3D <1100000>; @@ -671,6 +672,7 @@ bucka12: buck12 { }; =20 bucka3: buck3 { + bootph-all; regulator-name =3D "vdd_ram_0v85"; regulator-min-microvolt =3D <850000>; regulator-max-microvolt =3D <850000>; @@ -679,6 +681,7 @@ bucka3: buck3 { }; =20 bucka4: buck4 { + bootph-all; regulator-name =3D "vdd_io_1v8"; regulator-min-microvolt =3D <1800000>; regulator-max-microvolt =3D <1800000>; @@ -687,6 +690,7 @@ bucka4: buck4 { }; =20 bucka5: buck5 { + bootph-all; regulator-name =3D "vdd_mcu_0v85"; regulator-min-microvolt =3D <850000>; regulator-max-microvolt =3D <850000>; @@ -695,6 +699,7 @@ bucka5: buck5 { }; =20 ldoa1: ldo1 { + bootph-all; regulator-name =3D "vdd_mcuio_1v8"; regulator-min-microvolt =3D <1800000>; regulator-max-microvolt =3D <1800000>; @@ -703,6 +708,7 @@ ldoa1: ldo1 { }; =20 ldoa2: ldo2 { + bootph-all; regulator-name =3D "vdd_mcuio_3v3"; regulator-min-microvolt =3D <3300000>; regulator-max-microvolt =3D <3300000>; @@ -711,6 +717,7 @@ ldoa2: ldo2 { }; =20 ldoa3: ldo3 { + bootph-all; regulator-name =3D "vds_dll_0v8"; regulator-min-microvolt =3D <800000>; regulator-max-microvolt =3D <800000>; @@ -719,6 +726,7 @@ ldoa3: ldo3 { }; =20 ldoa4: ldo4 { + bootph-all; regulator-name =3D "vda_mcu_1v8"; regulator-min-microvolt =3D <1800000>; regulator-max-microvolt =3D <1800000>; --=20 2.46.0 From nobody Sat Nov 30 03:42:18 2024 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DD49C1A304A for ; Wed, 11 Sep 2024 17:19:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726075164; cv=none; b=laSVUp26ck6jdm3jljP+00MXVP0ooR5VvlLFQvbBdIDmhsathxqpciuvNKqHCU9DzfWBrHfIzuSBpZlkAxb7SjUSRzEiffrS3nDY+dgUq94zMC1UaJC9rrjEs3XxRqzjyTTN6J7n7oFRkEydXvK2YOVbAEX0c+F5IKKCJkMZci0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726075164; c=relaxed/simple; bh=iw2iSikTXppvSflwFHwu/wnoymaTVdBuSmy2VWueHZA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=t28sn49Uf8c5L4TST00isuO3P1zFGx2bs5lNXlCUBDAZwJXY3cQ0I9awxlKHImxsA/7+gA5FrkYECWB8HuuSDvRbSlyKnY637yJe1A7FUtWF9JOJzG3T4n6lOOoO9zjU8d0MqiPgUIvNv/fWRukek3i+ZvdUf+2/fcpI4xNLX1A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=fT8aO7xn; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fT8aO7xn" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1726075161; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=28X9ofa4FVqd/RIfjVnu92zTF8CwDhdmgTu8lcrYQV0=; b=fT8aO7xnGvAOqN7a8Yd3lsudtJVO5wRGJRORvXbe4+x9QLTuN+zsxyG+/nkY6d6k5X9tuR RuvEMhonB28dlZxW41sRGxXvA6rdlwjD9dGiO5vKU/BeJwQJ2Q9oi+QwqllMEYyMCn98Mw ESE79hr3661e/+dXUlVGpOV5Sg6SauQ= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-346-B-ontKNEOHu1PDlq_zBRBg-1; Wed, 11 Sep 2024 13:19:20 -0400 X-MC-Unique: B-ontKNEOHu1PDlq_zBRBg-1 Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-7a9a74d39b5so14642685a.2 for ; Wed, 11 Sep 2024 10:19:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726075160; x=1726679960; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=28X9ofa4FVqd/RIfjVnu92zTF8CwDhdmgTu8lcrYQV0=; b=q8pE4LfdrFf34ln64DXJHpyfWN0TaZgJ6yUtVmKBMhtnkwwzHwDUKxOQe6XmVinJzm GxqgzvC/xr0E/bOQPnj0zMuYalTmUH8GAq0EE5jb76rp4qhB1SLDloTftMphozO9YFlt IZUIL1hLVaVKs6OQJ067F8EfHAkOEtnJsjhHwVT36yNkh7oU9Anfr1dTBH2373pkh2uP WElftVsXQR5nhRGv6Ztf5LRhXQWqw+c/D1PEw/Orrrljm5SF7tK9kaY2LNPMEWrCwM2c ayKb6E7syHW+iBkzSW1juV6Ks6kThThXSyyw6Ooj0HjDJMKUgmF7iLzVFr0NOwCEQmwk LDOQ== X-Forwarded-Encrypted: i=1; AJvYcCUBZKJ2jhzzrcbuIrssj7Y7T5NpNZpOasjPnvUYC7EDDnxuN9DQ1IbEhCVehFz8Pkyc10R3T6POUDMn4X8=@vger.kernel.org X-Gm-Message-State: AOJu0YyjT38oaPqQ0uoWjLISrySRmW2GHjpTcySW/qB+WjYlR++VvBaY 6f1EkDi6LB/34Rf6I6N/vVBIfmpdJ85OT+/a+sfzCmDZ59T0UWse0UVDrSdR1XJowVCTL+Lmf8A KSRe+5xq6FNxx5iSKrnwfBiGRX0KPD9o7LYlwKmwQXNrWGf5qe2tlQMD3SH/4LQ== X-Received: by 2002:a05:620a:3711:b0:7a8:364:80b0 with SMTP id af79cd13be357-7a9e5f76f81mr8395185a.47.1726075160247; Wed, 11 Sep 2024 10:19:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEwsQHEC7AmJgNaLgdRNL5pjLQixLL4YicXWOSGR3WlgK3rdczRispOhGIGDgkTse+2AyL9Xw== X-Received: by 2002:a05:620a:3711:b0:7a8:364:80b0 with SMTP id af79cd13be357-7a9e5f76f81mr8392885a.47.1726075159852; Wed, 11 Sep 2024 10:19:19 -0700 (PDT) Received: from x1gen2nano.local ([2600:1700:1ff0:d0e0::33]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a9a7946b8dsm444433285a.17.2024.09.11.10.19.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Sep 2024 10:19:19 -0700 (PDT) From: Andrew Halaney Date: Wed, 11 Sep 2024 12:19:03 -0500 Subject: [PATCH v2 2/2] arm64: dts: ti: k3-am69-sk: Mark tps659413 regulators as bootph-all Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240911-j784s4-tps6594-bootph-v2-2-a83526264ab1@redhat.com> References: <20240911-j784s4-tps6594-bootph-v2-0-a83526264ab1@redhat.com> In-Reply-To: <20240911-j784s4-tps6594-bootph-v2-0-a83526264ab1@redhat.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Keerthy , Neha Malcom Francis , Eric Chanudet , Enric Balletbo , Udit Kumar , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Halaney X-Mailer: b4 0.14.1 In order for the MCU domain to access this PMIC, a regulator needs to be marked appropriately otherwise it is not seen by SPL and therefore not configured. This is necessary if the MCU domain is to program the TPS6594 MCU ESM state machine, which is required to wire up the watchdog in a manner that will reset the board. Signed-off-by: Andrew Halaney Tested-by: Udit Kumar --- arch/arm64/boot/dts/ti/k3-am69-sk.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am69-sk.dts b/arch/arm64/boot/dts/ti= /k3-am69-sk.dts index 1e36965a1403..f4d158a0b97d 100644 --- a/arch/arm64/boot/dts/ti/k3-am69-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am69-sk.dts @@ -750,6 +750,7 @@ tps659413: pmic@48 { =20 regulators { bucka12: buck12 { + bootph-all; regulator-name =3D "vdd_ddr_1v1"; regulator-min-microvolt =3D <1100000>; regulator-max-microvolt =3D <1100000>; @@ -758,6 +759,7 @@ bucka12: buck12 { }; =20 bucka3: buck3 { + bootph-all; regulator-name =3D "vdd_ram_0v85"; regulator-min-microvolt =3D <850000>; regulator-max-microvolt =3D <850000>; @@ -766,6 +768,7 @@ bucka3: buck3 { }; =20 bucka4: buck4 { + bootph-all; regulator-name =3D "vdd_io_1v8"; regulator-min-microvolt =3D <1800000>; regulator-max-microvolt =3D <1800000>; @@ -774,6 +777,7 @@ bucka4: buck4 { }; =20 bucka5: buck5 { + bootph-all; regulator-name =3D "vdd_mcu_0v85"; regulator-min-microvolt =3D <850000>; regulator-max-microvolt =3D <850000>; @@ -782,6 +786,7 @@ bucka5: buck5 { }; =20 ldoa1: ldo1 { + bootph-all; regulator-name =3D "vdd_mcuio_1v8"; regulator-min-microvolt =3D <1800000>; regulator-max-microvolt =3D <1800000>; @@ -790,6 +795,7 @@ ldoa1: ldo1 { }; =20 ldoa2: ldo2 { + bootph-all; regulator-name =3D "vdd_mcuio_3v3"; regulator-min-microvolt =3D <3300000>; regulator-max-microvolt =3D <3300000>; @@ -798,6 +804,7 @@ ldoa2: ldo2 { }; =20 ldoa3: ldo3 { + bootph-all; regulator-name =3D "vds_dll_0v8"; regulator-min-microvolt =3D <800000>; regulator-max-microvolt =3D <800000>; @@ -806,6 +813,7 @@ ldoa3: ldo3 { }; =20 ldoa4: ldo4 { + bootph-all; regulator-name =3D "vda_mcu_1v8"; regulator-min-microvolt =3D <1800000>; regulator-max-microvolt =3D <1800000>; --=20 2.46.0