{"id":2226094,"url":"http://patchwork.ozlabs.org/api/patches/2226094/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260422083430.20345-1-m95d+git@psihoexpert.ro/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260422083430.20345-1-m95d+git@psihoexpert.ro>","list_archive_url":null,"date":"2026-04-22T08:32:56","name":"[v3] usb: dwc2_udc_otg_phy: fix compilation on non-Exynos patforms","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"eea8d785e0515958f0add215e72a1c7fa3183463","submitter":{"id":90814,"url":"http://patchwork.ozlabs.org/api/people/90814/?format=json","name":"Marius Dinu","email":"m95d+git@psihoexpert.ro"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260422083430.20345-1-m95d+git@psihoexpert.ro/mbox/","series":[{"id":500943,"url":"http://patchwork.ozlabs.org/api/series/500943/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=500943","date":"2026-04-22T08:32:56","name":"[v3] usb: dwc2_udc_otg_phy: fix compilation on non-Exynos patforms","version":3,"mbox":"http://patchwork.ozlabs.org/series/500943/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2226094/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2226094/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=psihoexpert.ro header.i=@psihoexpert.ro\n header.a=rsa-sha256 header.s=dynu header.b=KN6YQuau;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=psihoexpert.ro","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=psihoexpert.ro header.i=@psihoexpert.ro\n header.b=\"KN6YQuau\";\n\tdkim-atps=neutral","phobos.denx.de; dmarc=pass (p=none dis=none)\n header.from=psihoexpert.ro","phobos.denx.de;\n spf=pass smtp.mailfrom=m95d+git@psihoexpert.ro"],"Received":["from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0swS6Zrbz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 18:34:48 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id DDF8A83936;\n\tWed, 22 Apr 2026 10:34:45 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 21A2483E76; Wed, 22 Apr 2026 10:34:45 +0200 (CEST)","from mx1.wiredblade.com (mx1.wiredblade.com [72.51.58.38])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 9F7468352B\n for <u-boot@lists.denx.de>; Wed, 22 Apr 2026 10:34:40 +0200 (CEST)","from TkB (188-24-192-137.rdsnet.ro [188.24.192.137])\n by mx1.wiredblade.com with ESMTPSA\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256)\n ; Wed, 22 Apr 2026 08:34:01 +0000"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","dkim-signature":"v=1; a=rsa-sha256; d=psihoexpert.ro; s=dynu;\n c=relaxed/relaxed; q=dns/txt;\n h=From:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Transfer-Encoding:In-Reply-To:References;\n bh=Ii8a8jpNooDXHWnpYZRKWgpgD3ylXhffNwjKNQq3UE0=;\n b=KN6YQuauLSjNIQpRGAAv2BldJneNul5tqkEDXwGgpNf5ZP6maFrI/vmloTshCN2o1ICtYjEmQe8H/MN6mW/u9MQg585s27Do2wBYgOlnjTLh1QVYEKPEN5bQPOAU4v99Ut1krrvnyOX4XKxki+2/NcPf+4WpM32IAkrl5ZEuL4VTAr17F82vhkXXDnL0QIinmoXCsyXg7uL+iXEEopAU6t6r/ie3y+9G+TWnkVU2qcdP4kis8y3ijvHfk+\n 9iLnTjuHniXG1fZWJMJc0x5mKPU7ep6YGCyE0gfPr1qxw/8PYxYQQHvk/D7rs5I91RLgMMAUAdxCqHN8qJXdyR58UoXg==","From":"Marius Dinu <m95d+git@psihoexpert.ro>","To":"u-boot@lists.denx.de","Cc":"Lukasz Majewski <lukma@denx.de>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>, Marek Vasut <marex@denx.de>,\n Tom Rini <trini@konsulko.com>, Junhui Liu <junhui.liu@pigmoral.tech>,\n Marius Dinu <m95d+git@psihoexpert.ro>,\n Quentin Schulz <quentin.schulz@cherry.de>","Subject":"[PATCH v3] usb: dwc2_udc_otg_phy: fix compilation on non-Exynos\n patforms","Date":"Wed, 22 Apr 2026 11:32:56 +0300","Message-ID":"<20260422083430.20345-1-m95d+git@psihoexpert.ro>","X-Mailer":"git-send-email 2.52.0","In-Reply-To":"<ab44395a-dc24-4141-8211-16a16281d349@cherry.de>","References":"<ab44395a-dc24-4141-8211-16a16281d349@cherry.de>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"s5p_cpu_id used in drivers/usb/gadget/dwc2_udc_otg_phy.c is undefined on\nplatforms other than Exynos.\n\nSigned-off-by: Marius Dinu <m95d+git@psihoexpert.ro>\nAcked-by: Quentin Schulz <quentin.schulz@cherry.de>\n---\n drivers/usb/gadget/dwc2_udc_otg_phy.c | 2 ++\n 1 file changed, 2 insertions(+)","diff":"diff --git a/drivers/usb/gadget/dwc2_udc_otg_phy.c b/drivers/usb/gadget/dwc2_udc_otg_phy.c\nindex e0ac5d142b0..c56ff1125bd 100644\n--- a/drivers/usb/gadget/dwc2_udc_otg_phy.c\n+++ b/drivers/usb/gadget/dwc2_udc_otg_phy.c\n@@ -56,10 +56,12 @@ void otg_phy_init(struct dwc2_udc *dev)\n \telse /* C110 GONI */\n \t\tclrbits_le32(&phy->phypwr, OTG_DISABLE_0 | ANALOG_PWRDOWN | FORCE_SUSPEND_0);\n \n+#if defined(CONFIG_ARCH_EXYNOS) || defined(CONFIG_ARCH_S5PC1XX)\n \tif (s5p_cpu_id == 0x4412)\n \t\tclrsetbits_le32(&phy->phyclk, EXYNOS4X12_ID_PULLUP0 | EXYNOS4X12_COMMON_ON_N0,\n \t\t\t\tEXYNOS4X12_CLK_SEL_24MHZ); /* PLL 24Mhz */\n \telse\n+#endif\n \t\tclrsetbits_le32(&phy->phyclk, ID_PULLUP0 | COMMON_ON_N0,\n \t\t\t\tCLK_SEL_24MHZ); /* PLL 24Mhz */\n \n","prefixes":["v3"]}