Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2103526lqb; Mon, 27 May 2024 08:01:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW8yPdIjUYpEthAlzXryujBPHQvPvImWOM1WAD5bcUIfo8qdQ+Bmc48s5LoZPLkPmTTet3cGvFhWpwLCUisV6zSb2GjJDy6FyP3Un43GQ== X-Google-Smtp-Source: AGHT+IE5QOjMCcIvjfe46iV4sIfpQuQUftArVOuC1XQ1O7aiR+kg3LlRZnadj7pI0NVXLkmH+R8Z X-Received: by 2002:a05:6870:d608:b0:24f:cddc:ccfe with SMTP id 586e51a60fabf-24fcddcdee4mr6506204fac.0.1716822072076; Mon, 27 May 2024 08:01:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716822072; cv=pass; d=google.com; s=arc-20160816; b=zgGERJXa8cDXXcf/UmTjw0lzdbPaoSIz1y65vHSoefSSkT09zcqEGsXTwNyRwa5jFv lPjjimudKNs63uZMBFYG4junkwtGXU6qXHL9qXMuyyIjnIPhrYlVEJA42DTPDBf/QDQD lPDsFGSXgmivnie+GYrSAvt0pKu0RZionB7pjiZ225CcpK+g4bmMeUief8r4zvx1PevX Zjur2cCfV9gbjH+L2bwSrnFcsOdRPjInI6P0lDhP/yWA7gWiAATEXpmDZ+kTZpacBfPN j/GraQX7CCftPs22vi/UHjoAioZG4wk4SR6mgXBKuygTNMHb5VHT1Q4rDgftRdEMi4lc MIBA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=EW51riPnd9ePVXM3Vy+fb2D5iqOW25KWLiByF0TaIBY=; fh=xjlmcH/xgxS/W6rXtUkdtcnNC1/g0MfA41FvQ5iVBPs=; b=p1wfNbnegyfTjIs+080Ub6d+C3NW+ftlEtWuPmp+on2RJDhV+3z191g7IKcJ4ThjXy ImICM/IeRD2CVFCtHMa4FsgJYvN5cyo22/tPVStnt3pBzk/rUtaaGsGKWLNdN6S/wYm7 5d9A1RgaKoDh/TOIKYqa2zkECFiSmxZH/Ur0NKF5g93M0yYAUU8Q8yk5PzQCGCx9De03 UY2WvorleYZSTlGu05WkVX/UUPQFYsLYrk5VpjSXFsujs9Ql+JwuvJrBGIAEpo61USRH UxNXhZZATAq7hctoNy1gmdWF3twS/jefB+NznPmvbkwc1iBeo4cOacaJgH9eDyK717bb om8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MA1UtrmJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-190977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190977-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43fb18a6c50si80204101cf.297.2024.05.27.08.01.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 08:01:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MA1UtrmJ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-190977-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190977-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B452E1C20D48 for ; Mon, 27 May 2024 15:01:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0CE501649CF; Mon, 27 May 2024 14:29:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MA1UtrmJ" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0440F15D5D0; Mon, 27 May 2024 14:29:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716820176; cv=none; b=dmDP1Tq00cjLJxB1TbniI9bN1wOm5SAkZS16sPyDjbMMvNc4vZOFiJwDsfbMC3NB/1IWR+HLpic04hA/Chon/coaXNo+Ee/lEqIKVmLjgvRmOVQxanaNpw2UFIFNdBH/D3zWlJzNASnUoJeac9EAc9k8KoEeFp9jLuqhApG7U10= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716820176; c=relaxed/simple; bh=PQHKI0v3kfahV+WO0+ELOBiuGyhB7NTGZcjanRwq69w=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=WsrAbYUySriH5Kej6J7zxqbxMUouqc7rL909+KZoRy1vEjwyVRKeWOITQEF33wTmx+ysnxJfy61e4h/F+uAbzRy/+YiGFf1KER21EKwtUN4nkM7XHhhjXIKbQW5EcMGaR2qUBg3qo3d+BFWoPyN/Sq6//kx2knQ0zbzZ3D/BeSw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MA1UtrmJ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8CAFFC2BBFC; Mon, 27 May 2024 14:29:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716820175; bh=PQHKI0v3kfahV+WO0+ELOBiuGyhB7NTGZcjanRwq69w=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=MA1UtrmJkgAVPTyIPSkBpMsmFjxQmIvSbb6uJ4EEOlqJ3RYAQz/41sokR7Ar7oBPy GH3AIeB/5P2UHJRraJTWt7dmpfLsSXbgll00MuA5ZJaG6JzRGggrwU+EH4YymRImvu IYvc4Khe4XOOdf0BfcRfRTEYQkP1xW77qP5KkgNVEWk2G7GhMu8JgAeHFoD5KAhl86 HsCBow8y5vlyDgLm3+HTb7VU7kTa5X7qYQSECA5NPZ1o+gDyG+9q6WI+VHr+aIzaJE Fcki8DCXzquYpYVmBBng2ZjUriFSJTpRsshQ+G7UWd2OB+XzWgF581iUegcbeeB1NX gexhFrtr5Zu5g== Message-ID: <547196ae-af25-43bb-801c-9a9dbb6ec134@kernel.org> Date: Mon, 27 May 2024 16:29:29 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] arm64: boot: dts: ti: k3-am68-sk-base-board: Add LP8733 and TPS6287 nodes To: Neha Malcom Francis , robh@kernel.org, conor+dt@kernel.org, krzk+dt@kernel.org, kristo@kernel.org, vigneshr@ti.com, nm@ti.com, broonie@kernel.org, lgirdwood@gmail.com Cc: marten.lindahl@axis.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, u-kumar1@ti.com References: <20240527124422.3553828-1-n-francis@ti.com> <20240527124422.3553828-2-n-francis@ti.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P+QFx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mCEuNSr+CLMdnRBY fv0= In-Reply-To: <20240527124422.3553828-2-n-francis@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 27/05/2024 14:44, Neha Malcom Francis wrote: > Add DTS node for LP87334E PMIC and two TPS6287x high current buck > converters. > > LP87334E is responsible for supplying power to the MCU and MAIN domains > as well as to LPDDR4. The two TPS6287x supply power to the MAIN > domain for AVS and other core supplies. Please use subject prefixes matching the subsystem. You can get them for example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory your patch is touching. For bindings, the preferred subjects are explained here: https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters > > Signed-off-by: Neha Malcom Francis > Link: https://www.ti.com/lit/pdf/slda060 > --- > .../boot/dts/ti/k3-am68-sk-base-board.dts | 77 +++++++++++++++++++ > 1 file changed, 77 insertions(+) > > diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts > index d743f023cdd9..74e59035013c 100644 > --- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts > +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts > @@ -414,6 +414,83 @@ &wkup_uart0 { > pinctrl-0 = <&wkup_uart0_pins_default>; > }; > > +&wkup_i2c0 { > + bootph-all; > + status = "okay"; Please order the properties according to DTS coding style: https://www.kernel.org/doc/html/latest/devicetree/bindings/dts-coding-style.html#order-of-properties-in-device-node > + pinctrl-names = "default"; > + pinctrl-0 = <&wkup_i2c0_pins_default>; > + clock-frequency = <400000>; > + > + lp8733: pmic@60 { > + compatible = "ti,lp8733"; > + reg = <0x60>; > + > + buck0-in-supply = <&vsys_3v3>; > + buck1-in-supply = <&vsys_3v3>; > + ldo0-in-supply = <&vsys_3v3>; > + ldo1-in-supply = <&vsys_3v3>; > + > + lp8733_regulators: regulators { > + lp8733_buck0_reg: buck0 { > + /* FB_B0 -> LP8733-BUCK1 - VDD_MCU_0V85 */ > + regulator-name = "lp8733-buck0"; > + regulator-min-microvolt = <850000>; > + regulator-max-microvolt = <850000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + > + lp8733_buck1_reg: buck1 { > + /* FB_B1 -> LP8733-BUCK2 - VDD_DDR_1V1 */ > + regulator-name = "lp8733-buck1"; > + regulator-min-microvolt = <1100000>; > + regulator-max-microvolt = <1100000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + > + lp8733_ldo0_reg: ldo0 { > + /* LDO0 -> LP8733-LDO1 - VDA_DLL_0V8 */ > + regulator-name = "lp8733-ldo0"; > + regulator-min-microvolt = <800000>; > + regulator-max-microvolt = <800000>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + lp8733_ldo1_reg: ldo1 { > + /* LDO1 -> LP8733-LDO2 - VDA_LN_1V8 */ > + regulator-name = "lp8733-ldo1"; > + regulator-min-microvolt = <1800000>; > + regulator-max-microvolt = <1800000>; > + regulator-always-on; > + regulator-boot-on; > + }; > + }; > + }; > + > + tps62873a: tps62873@40 { Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation > + compatible = "ti,tps62873"; > + bootph-pre-ram; > + reg = <0x40>; > + regulator-name = "VDD_CPU_AVS"; > + regulator-min-microvolt = <600000>; > + regulator-max-microvolt = <900000>; > + regulator-boot-on; > + regulator-always-on; > + }; > + > + tps62873b: tps62873@43 { Node names should be generic. See also an explanation and list of examples (not exhaustive) in DT specification: https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation Best regards, Krzysztof