From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 9D32C1AB6DE for ; Sat, 8 Mar 2025 09:34:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741426494; cv=none; b=V9zAmChBFrBU+WSXX5KBMH7p1G1LfPgHZ4ioFqZ1+7bjOO6jV1Oo4mWruDtOtrE2BaVFBzQ3V9gvLkxxfwf2Z2Dhmh21FzWpNUYjeQ2jVw01Xl4AHSggWnoau7RgrxvZh1mdKAQRLYGcp+e9p0aFp/7ChG+3CXbp6GN0ZpxTfKo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741426494; c=relaxed/simple; bh=NHC7RP2GbKdwTiWHGO8lLwZWIfTS4uViaABUpCOl+2E=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=D7kawpTJ5MeuVnjaRaKwywgfzQqe4Awnjobreabwdcw85AS0CAYWjVKNEcf5Uzf+t6i+3Y2/ZW59Ih0ufTJOwGo0pAvB0rt1DGZz8b2gBjbGTOe26l8/+1JxawJ7FOvXvVG3cIiAOPah7nCtuG3DSWiGF2R9oUCZkPHwrTYsE+o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=eE84SUkc; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="eE84SUkc" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5286STDL029053 for ; Sat, 8 Mar 2025 09:34:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= 2D2hEuOwQrEqYMvC2ATnO4j/VTIi52LI14hMdCpxT/w=; b=eE84SUkc6CSFHZFb YlR/83jsDZ6y8lpInTcNDS9umqGI476vp4Bf0sfLmP+hsK3D4SD5zloIf2owaxC4 00z+cD0toWBiUEM5XTSive0iKfi2F5AIB0P+opuqoyGo7ye54QKmAWFnDWpqTDzk m6bvl/AlIiLUU8rTjU95XjfuiDxPtR8GvRxIqKRePDlArPL3SisDtFaqGalz0S5L BkTkrg+LEFE7TWMEvbhh0hNfvl2tHzPAgyC9l1gXce8JwlOb05z/j65fgJ1SlkIz O6U6Km+E89+bh+EjZv++nexDO02y8X5FAZeeB5Qv0i9E+kVaq630kTDo4y5vgLit 8lGuMA== Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 458f0w0b27-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Sat, 08 Mar 2025 09:34:51 +0000 (GMT) Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-6e8fd4ef023so5405296d6.2 for ; Sat, 08 Mar 2025 01:34:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741426490; x=1742031290; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2D2hEuOwQrEqYMvC2ATnO4j/VTIi52LI14hMdCpxT/w=; b=lOiMJDqaVYeMQjSMCdnZRssjsTB5tzpCjKbtyAHSxpnOXCrbpbD+4h48kHXnpngx0P 6hfggAPLts45Jv4SmzNiZNx9PFoAgAgvzZTSGM1/5yl9oNl6HVzBJLUysV6+nALlpRSR REWA0J/xXwRKC9uWIsAHspy6/RVX9UGF9iNlu7h7K1EOi60V4Yabp1iOohWT32kVpiK9 9bgZqSEZiMWE2FGaIMXd1TdmoA+wJmtbDXk6JajV4oAitjRYQJJg1rx6g3Dt8xNCUbVA hkgp9tXGd8dQSJAWstHiyXShYU5hUZsJmMWyFeV+k3bTjW5JGPx8nTZGnpBo2SChfzjg gbEQ== X-Forwarded-Encrypted: i=1; AJvYcCWSXlRjVnlsP43lAtCIBqgcbysYOR8kPxCRw3pfZquT4AtHk6zIihJEis+tYcPoLozs/YSmWyWOdpeyZ2o=@vger.kernel.org X-Gm-Message-State: AOJu0YxPKMVyjIJlj08zrTz9ohnuCThh425cUfj7eXfeOxWBhkUqUrvr FdUuLUNsoGARKKHGW/HFQGykqI06XfEQHjSkDU7jvCDu6K5xglsIvDQUmdnMidYbR5hL6TnCP6e zWYWtAK5An72JibfZEKPRlEnRSqi1cF+dRD0nq0qMQ8P/94vxV4+M7t1FBwzFSJ0= X-Gm-Gg: ASbGncvpTkNVoZGC9YwrQn41iUfYSX00S0cj/5OKD6AhQQ3Aqr5y1Dia2ozVd5MFpLj S5WwgPLRix7SuH29XaN5FtObTvwhMNi9qk9jsz9Dp18tZS7J9bTpiXoN4zGlGZoI8vX/Gx2P4yC A98B4422yCoyGjX0fQhoIE5doSg3ysP2gy3fn161dDAIdTYhRTRHa7UhV24HFa25zp0aZjVnhJ0 ln3JGgPHD8czQjDTNzpMdonv3YbdzaJhR9/Vn7FJ0AF7QUx53EhrNimpbiTJDah6ikD7qmr04uR KInBwgh0TT7PGeqRGAEIwxQPTdPRSlXmQIRtrBu0YghHEPPUr3Voumbv93cSRnewTTbX3w== X-Received: by 2002:a05:622a:11d0:b0:472:15be:54ad with SMTP id d75a77b69052e-47666fb5b2dmr10259011cf.14.1741426490146; Sat, 08 Mar 2025 01:34:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGSQHbt0IYdZtC+FufjOVfWZsEqsYNhC+Fq/qSDVU1/CY2UA/2XqPrSX1GmY+54b8CpLYzCbg== X-Received: by 2002:a05:622a:11d0:b0:472:15be:54ad with SMTP id d75a77b69052e-47666fb5b2dmr10258751cf.14.1741426489676; Sat, 08 Mar 2025 01:34:49 -0800 (PST) Received: from [192.168.65.90] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ac239485bf3sm413325166b.63.2025.03.08.01.34.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 08 Mar 2025 01:34:49 -0800 (PST) Message-ID: <0401fdf9-7665-40d6-9ec7-7222b2eda866@oss.qualcomm.com> Date: Sat, 8 Mar 2025 10:34:45 +0100 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 3/7] usb: common: usb-conn-gpio: switch psy_cfg from of_node to fwnode To: Greg Kroah-Hartman , Sebastian Reichel Cc: Mark Brown , Linus Walleij , Hans de Goede , Liam Girdwood , Chen-Yu Tsai , Matti Vaittinen , =?UTF-8?Q?Pali_Roh=C3=A1r?= , Paul Cercueil , Samuel Holland , David Lechner , Krzysztof Kozlowski , Marek Szyprowski , Sebastian Krzyszkowiak , Purism Kernel Team , Bartosz Golaszewski , Konrad Dybcio , Matthias Brugger , AngeloGioacchino Del Regno , Orson Zhai , Baolin Wang , Chunyan Zhang , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org References: <20250225-psy-core-convert-to-fwnode-v1-0-d5e4369936bb@collabora.com> <20250225-psy-core-convert-to-fwnode-v1-3-d5e4369936bb@collabora.com> <2025022542-recital-ebony-d9b5@gregkh> <2025030845-pectin-facility-a474@gregkh> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <2025030845-pectin-facility-a474@gregkh> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: iQmBq_-1Q8K8BkA5uoAdxzF4D1Cs99gx X-Proofpoint-GUID: iQmBq_-1Q8K8BkA5uoAdxzF4D1Cs99gx X-Authority-Analysis: v=2.4 cv=MICamNZl c=1 sm=1 tr=0 ts=67cc0f3b cx=c_pps a=oc9J++0uMp73DTRD5QyR2A==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=Vs1iUdzkB0EA:10 a=QX4gbG5DAAAA:8 a=ag1SF4gXAAAA:8 a=vjfVVXfxOX9NMr4QhcAA:9 a=QEXdDO2ut3YA:10 a=iYH6xdkBrDN1Jqds4HTS:22 a=AbAUZ8qAyYyZVLSsDulk:22 a=Yupwre4RP9_Eg_Bd0iYG:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1093,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-03-08_03,2025-03-07_03,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=999 lowpriorityscore=0 phishscore=0 spamscore=0 suspectscore=0 priorityscore=1501 malwarescore=0 mlxscore=0 adultscore=0 bulkscore=0 clxscore=1015 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2502100000 definitions=main-2503080067 On 8.03.2025 6:57 AM, Greg Kroah-Hartman wrote: > On Sat, Mar 08, 2025 at 02:10:29AM +0100, Sebastian Reichel wrote: >> Hello Greg, >> >> On Tue, Feb 25, 2025 at 04:32:50AM +0100, Greg Kroah-Hartman wrote: >>> On Tue, Feb 25, 2025 at 12:21:36AM +0100, Sebastian Reichel wrote: >>>> In order to remove .of_node from the power_supply_config struct, >>>> use .fwnode instead. >>>> >>>> Signed-off-by: Sebastian Reichel >>>> --- >>>> drivers/usb/common/usb-conn-gpio.c | 2 +- >>>> 1 file changed, 1 insertion(+), 1 deletion(-) >>>> >>>> diff --git a/drivers/usb/common/usb-conn-gpio.c b/drivers/usb/common/usb-conn-gpio.c >>>> index aa710b50791b0282be0a6a26cffdd981b794acaa..1e36be2a28fd5ca5e1495b7923e4d3e25d7cedef 100644 >>>> --- a/drivers/usb/common/usb-conn-gpio.c >>>> +++ b/drivers/usb/common/usb-conn-gpio.c >>>> @@ -158,7 +158,7 @@ static int usb_conn_psy_register(struct usb_conn_info *info) >>>> struct device *dev = info->dev; >>>> struct power_supply_desc *desc = &info->desc; >>>> struct power_supply_config cfg = { >>>> - .of_node = dev->of_node, >>>> + .fwnode = dev_fwnode(dev), >>>> }; >>>> >>>> desc->name = "usb-charger"; >>>> >>>> -- >>>> 2.47.2 >>> >>> Acked-by: Greg Kroah-Hartman >> >> Please just merge this patch through the USB tree. >> >> There are no dependencies and I will send a new version for the >> later patches, but they won't make it to 6.15 as I want enough >> time in linux-next for them. This patch is rather simple and >> getting it merged now means we avoid immutable branches or >> merging through the wrong tree in the 6.16 cycle. > > Attempting to merge a single patch out of a series is hard with our > current tools, you know that. Please resend just the single patch if > you want that applied. b4 shazam -P 3 to apply the third patch (such as this one) in a thread unless you use some other set of tools.. Konrad