From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796128685; b=pzxjYiKoinDC1jKHLUe8yQ0Tmq4bj3VK4OhbegJgK1fuXnV0G6wE2FQW/FjKbKyy5lFC GnonAk+shTO4/S1qnfmJxV7DnlPUJhXosZhSsKTVZe/ofkWN9AtormlghsWx+aIMepoBD sC/cZqGqM++UrhcB5YIwMGrcj2RPxWrBEhsuJkUDV6aFykFNT5acCuFQmgOiUqhf1g8TL AUuXXCOo528nyLw23oFudfnqudZ7gDuB7CKKWpywws86jT0A6zwDTceRKCgIZHYZxLpIQ h215LN3jkfnpjqbjLQhGDEr4H/wqIEvGCiJdy8/JbMpP/3+6XuxJ1nkM9ZT+gv9sakw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796128685; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=KaSaIyBwJqtoA7UHFaI2KTw7CXoCOnw0GC7TOjh2u1I=; b=CYP/Zcrsc7fhQibhTTodkJoeCXMFhTSKJ0sCTVD9A9aFRcWeyU5gJCVOtoc4y3XZYSq6 pCduSJoke/FMPw+Wo2g/+Lm+ofHweeIHnNeIad6PbEVD3KoeEpT9g7mMJnUd7uVB3RQt6 X1Bpf/WpGVQ3djoevcg1BwWNYCiKveqf3AyvuZeJb/Fa8xJ1KPP3O9gnm49i8urTJ8vVg OHmzf1FTYEj/lJvDREdzNDKMn0gRjAiO72doYn1tS/aShHQWmQ8/0+VFrJ3ewE5vQ1isD KhFVOtJ5tplDPX5Uu38y2Ck1hM+9W+q0GzXwoY+jkEcj1HTQ3CwPU/uV5UCThxBviFg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=NJ2+gvYB; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 521C1606A698 for ; Tue, 1 Dec 2026 12:38:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=NJ2+gvYB Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1ECE1F00926; Tue, 1 Dec 2026 12:38:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796128684; bh=KaSaIyBwJqtoA7UHFaI2KTw7CXoCOnw0GC7TOjh2u1I=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=NJ2+gvYBbj2meUYJyEa7+d8UqEC1xJ0HyNqejiYLZ34+ddFsSKs8rO4XT3e7SKnv2 2g+tcZoOjNkCHl//JAI154fdhUhbovW7e0Km7KnyV6LCy4577hu2sIdIVkEHYXsJrA 2z1sl2p/4kmU2Y8KiVcVfsuB3NjSa1R1XBsA3CwwbYV4kcJpxDtjGlkeTxCdVfUs+v n/JD01YQyKKcPW9aFyDjYHkEH1YeHXoxkytBetJb7IdLOmQuRQwKOptVBxjUCh/XSr orLWtgJcs+zBjgZ4yDK3JKPNud063CmF6PLEJTvHHPPV1jGpTb703giZGlgBD5nr3F RkCh3sCXI99Fw== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] dt-bindings: usb: snps,dwc3: document usb-psy-name Reply-To: sashiko-reviews@lists.linux.dev To: "Qianhui Xu" Cc: linux-usb@vger.kernel.org In-Reply-To: <20261201123018.2965784-1-xiaqinghuan@mail.ustc.edu.cn> References: <20261201123018.2965784-1-xiaqinghuan@mail.ustc.edu.cn> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 12:38:04 +0000 X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > The DWC3 core driver reads the "usb-psy-name" string property > (drivers/usb/dwc3/core.c, dwc3_get_usb_power_supply(): > device_property_read_string("usb-psy-name")) to find the power supply > whose current-limit notifier drives the gadget-side VBUS draw budget > (dwc3_psy_notifier / dwc3_vbus_draw_work). The binding never declared > it, so a board that names its USB power supply (e.g. "qcom-battmgr-usb" > on Qualcomm pmic-glink platforms) fails dtbs_check with > "'usb-psy-name' ... is not of type 'object', 'integer', 'array', ..." > once the vendor binding's unevaluatedProperties: false applies. >=20 > Declare it as a string in snps,dwc3-common.yaml, next to the other > core-consumed properties. No DT or driver change; purely a > binding-completeness fix. >=20 > Found while auditing a board that enables qcom,sm8750-dwc3 > (usb@a600000: usb-psy-name =3D "qcom-battmgr-usb"). >=20 > Signed-off-by: Qianhui Xu Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201123018.2965= 784-1-xiaqinghuan@mail.ustc.edu.cn?part=3D1