[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DM6PR12MB2619C223B0450A23A39BB093E47E9@DM6PR12MB2619.namprd12.prod.outlook.com>
Date: Wed, 17 May 2023 01:22:25 +0000
From: "Quan, Evan" <Evan.Quan@....com>
To: "Limonciello, Mario" <Mario.Limonciello@....com>,
"heikki.krogerus@...ux.intel.com" <heikki.krogerus@...ux.intel.com>,
"rafael@...nel.org" <rafael@...nel.org>,
"ajayg@...dia.com" <ajayg@...dia.com>,
"andriy.shevchenko@...ux.intel.com"
<andriy.shevchenko@...ux.intel.com>
CC: "linux-i2c@...r.kernel.org" <linux-i2c@...r.kernel.org>,
"linux-pm@...r.kernel.org" <linux-pm@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"Lazar, Lijo" <Lijo.Lazar@....com>,
"Goswami, Sanket" <Sanket.Goswami@....com>
Subject: RE: [PATCH 0/2] Adjust logic for power_supply_is_system_supplied()
[AMD Official Use Only - General]
Series is Reviewed-and-tested-by: Evan Quan <evan.quan@....com>
> -----Original Message-----
> From: Limonciello, Mario <Mario.Limonciello@....com>
> Sent: Wednesday, May 17, 2023 2:26 AM
> To: heikki.krogerus@...ux.intel.com; rafael@...nel.org; ajayg@...dia.com;
> andriy.shevchenko@...ux.intel.com
> Cc: linux-i2c@...r.kernel.org; linux-pm@...r.kernel.org; linux-
> kernel@...r.kernel.org; linux-usb@...r.kernel.org; Quan, Evan
> <Evan.Quan@....com>; Lazar, Lijo <Lijo.Lazar@....com>; Goswami, Sanket
> <Sanket.Goswami@....com>; Limonciello, Mario
> <Mario.Limonciello@....com>
> Subject: [PATCH 0/2] Adjust logic for power_supply_is_system_supplied()
>
> Some systems don't provide any ACPI power supplies, but drivers use the
> function power_supply_is_system_supplied() to make policy decisions.
>
> This logic works fine until a new device is added to the system that provides a
> UCSI power supply. This power supply doesn't power the system but the logic
> assumes it does.
>
> This series adjusts the logic so that these power supplies are not considered
> when making these policy decisions.
>
> Mario Limonciello (2):
> power: supply: Use the scope of power supplies to tell if power is
> system supplied
> usb: typec: ucsi: Don't create power supplies for dGPUs
>
> drivers/i2c/busses/i2c-designware-pcidrv.c | 13 ++++++++++++-
> drivers/i2c/busses/i2c-nvidia-gpu.c | 3 +++
> drivers/power/supply/power_supply_core.c | 8 ++++++--
> drivers/usb/typec/ucsi/psy.c | 14 ++++++++++++++
> 4 files changed, 35 insertions(+), 3 deletions(-)
>
> --
> 2.34.1
Powered by blists - more mailing lists