From: Tom Rini <trini@konsulko.com>
To: Manorit Chawdhry <m-chawdhry@ti.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>,
u-boot@lists.denx.de, Neha Malcom Francis <n-francis@ti.com>,
Keerthy J <j-keerthy@ti.com>, Udit Kumar <u-kumar1@ti.com>,
Aniket Limaye <a-limaye@ti.com>,
Vignesh Raghavendra <vigneshr@ti.com>, Andrew Davis <afd@ti.com>,
Nishanth Menon <nm@ti.com>
Subject: Re: [PATCH v2 2/7] drivers: misc: k3_avs: Use soc_match_device instead of compatible.
Date: Thu, 13 Jun 2024 08:20:03 -0600 [thread overview]
Message-ID: <20240613142003.GA613089@bill-the-cat> (raw)
In-Reply-To: <20240528-b4-upstream-j721s2-avs-v2-2-df940f2309d0@ti.com>
[-- Attachment #1: Type: text/plain, Size: 1556 bytes --]
On Tue, May 28, 2024 at 01:43:01PM +0530, Manorit Chawdhry wrote:
> vd_data remains the same for most of the SoCs but there are some
> differences in power domains and clocks that don't need a change to
> compatible and can be handled at SoC level.
>
> Change the data population logic from compatible to soc_match_device to
> add support for newer devices.
>
> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
On am65x_evm_r5_usbdfu am65x_evm_r5_usbmsc:
arm: + am65x_evm_r5_usbmsc
+(am65x_evm_r5_usbmsc) In function 'k3_avs_configure',
+(am65x_evm_r5_usbmsc) inlined from 'k3_avs_probe' at drivers/misc/k3_avs.c:459:8:
+(am65x_evm_r5_usbmsc) drivers/misc/k3_avs.c:333:12: error: 'conf' is used uninitialized [-Werror=uninitialized]
+(am65x_evm_r5_usbmsc) 333 | if (!conf) {
+(am65x_evm_r5_usbmsc) | ^
+(am65x_evm_r5_usbmsc) drivers/misc/k3_avs.c: In function 'k3_avs_probe':
+(am65x_evm_r5_usbmsc) drivers/misc/k3_avs.c:323:27: note: 'conf' was declared here
+(am65x_evm_r5_usbmsc) 323 | struct vd_config *conf;
+(am65x_evm_r5_usbmsc) | ^~~~
+(am65x_evm_r5_usbmsc) cc1: all warnings being treated as errors
+(am65x_evm_r5_usbmsc) make[3]: *** [scripts/Makefile.build:256: drivers/misc/k3_avs.o] Error 1
+(am65x_evm_r5_usbmsc) make[2]: *** [scripts/Makefile.build:397: drivers/misc] Error 2
+(am65x_evm_r5_usbmsc) make[1]: *** [Makefile:1892: drivers] Error 2
+(am65x_evm_r5_usbmsc) make: *** [Makefile:177: sub-make] Error 2
--
Tom
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2024-06-13 14:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-28 8:12 [PATCH v2 0/7] Add AVS support for J721S2 Manorit Chawdhry
2024-05-28 8:13 ` [PATCH v2 1/7] power: pmic: tps65941: Add DM_PMIC dependency Manorit Chawdhry
2024-05-28 9:03 ` Neha Malcom Francis
2024-05-28 8:13 ` [PATCH v2 2/7] drivers: misc: k3_avs: Use soc_match_device instead of compatible Manorit Chawdhry
2024-05-29 4:21 ` Kumar, Udit
2024-06-13 14:20 ` Tom Rini [this message]
2024-05-28 8:13 ` [PATCH v2 3/7] drivers: misc: k3_avs: Check return code while programming AVS Manorit Chawdhry
2024-05-29 4:23 ` Kumar, Udit
2024-05-28 8:13 ` [PATCH v2 4/7] drivers: misc: k3_avs: Add AVS Support for J721S2 Manorit Chawdhry
2024-05-28 8:13 ` [PATCH v2 5/7] arm: mach-k3: j721s2_init: Initialize AVS Class 0 Manorit Chawdhry
2024-05-28 8:13 ` [PATCH v2 6/7] arm: dts: j721s2: Add VTM node in R5 Manorit Chawdhry
2024-05-28 8:13 ` [PATCH v2 7/7] configs: j721s2_evm_r5_defconfig: Add AVS Configs Manorit Chawdhry
2024-05-29 4:29 ` Kumar, Udit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240613142003.GA613089@bill-the-cat \
--to=trini@konsulko.com \
--cc=a-limaye@ti.com \
--cc=afd@ti.com \
--cc=j-keerthy@ti.com \
--cc=jh80.chung@samsung.com \
--cc=m-chawdhry@ti.com \
--cc=n-francis@ti.com \
--cc=nm@ti.com \
--cc=u-boot@lists.denx.de \
--cc=u-kumar1@ti.com \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox