{"id":2224446,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2224446/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/20260416153827.14256-2-micbis.openwrt@gmail.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/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":"<20260416153827.14256-2-micbis.openwrt@gmail.com>","list_archive_url":null,"date":"2026-04-16T15:38:26","name":"[v3,1/2] regulator: rzg2l: implement connectivity notification","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"8dadde787886e428ff41151ccc2b4558000efed1","submitter":{"id":93164,"url":"http://patchwork.ozlabs.org/api/1.2/people/93164/?format=json","name":"Michele Bisogno","email":"micbis.openwrt@gmail.com"},"delegate":{"id":1699,"url":"http://patchwork.ozlabs.org/api/1.2/users/1699/?format=json","username":"marex","first_name":"Marek","last_name":"Vasut","email":"marek.vasut@gmail.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/20260416153827.14256-2-micbis.openwrt@gmail.com/mbox/","series":[{"id":500325,"url":"http://patchwork.ozlabs.org/api/1.2/series/500325/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=500325","date":"2026-04-16T15:38:25","name":"Changes since v2: Added missing Signed-off-by tags.","version":3,"mbox":"http://patchwork.ozlabs.org/series/500325/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2224446/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2224446/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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=KIHkVFxx;\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=gmail.com","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=gmail.com header.i=@gmail.com header.b=\"KIHkVFxx\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com","phobos.denx.de;\n spf=pass smtp.mailfrom=micbis.openwrt@gmail.com"],"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 4fxvjT2bkxz1yD3\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 17 Apr 2026 22:45:01 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id E2776842ED;\n\tFri, 17 Apr 2026 14:44:00 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 7038A84105; Thu, 16 Apr 2026 17:38:56 +0200 (CEST)","from mail-wr1-x435.google.com (mail-wr1-x435.google.com\n [IPv6:2a00:1450:4864:20::435])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 8B84A84105\n for <u-boot@lists.denx.de>; Thu, 16 Apr 2026 17:38:54 +0200 (CEST)","by mail-wr1-x435.google.com with SMTP id\n ffacd0b85a97d-43cfd832155so5652921f8f.1\n for <u-boot@lists.denx.de>; Thu, 16 Apr 2026 08:38:54 -0700 (PDT)","from localhost.localdomain ([151.70.144.55])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43ead3d5f11sm15663463f8f.18.2026.04.16.08.38.50\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 16 Apr 2026 08:38:51 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_GMAIL_RCVD,FREEMAIL_FROM,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=no\n autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1776353933; x=1776958733; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=gnhK6VVl+qDn/OgvD1N+rAHS6ZKS98nwH2lorpKhQAM=;\n b=KIHkVFxxjAPFROtVgiLrY3Z9gTNkXtArKNnbRFY3uOV0UbPBxe82VNO28ItlV22ywB\n zqGigJkA1uGWPBcnPA0RZyVzHo1sMh6zohFcgfbOoYRMcmH+J162GLOGP+d/oNdGXomE\n 7O9NLtsuuJrMKz5bvPlxbER/znhX740EiuSa7EleEF4KsN2W2GMZMFHh6wxswxTvFeV+\n 3CODVcFZ+5lRTc7sxV6n/WIHfFrHgnUFGUhomV6CZ+AEbmk+g3C87nBNCfTnO7z11DFm\n yZzm4Sx8G0eOVfrXLLMCt3scoRo2m0N9Cpuzcup7bb25ikqLFj1P9XjPL77C398T1hLs\n 0yaQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776353933; x=1776958733;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=gnhK6VVl+qDn/OgvD1N+rAHS6ZKS98nwH2lorpKhQAM=;\n b=JeabAg22jA+UOLMJWg6y9BylLpNtYaUAfdQBhABj15zlpEiVAcmqRg45pNpJOPIaID\n NSND3GkGYiBngQczoA8PbX6Pz4z4YjmXad865POP3Jy/xwGabhnp4mFxyp2sYwciisNP\n XQqT3Oy1uREh1ymlNyvXQG+5Uaxrrc4k5iaswlwg5Ge40QO6wpEMFoBH+ko2diccUmFi\n UzKhNlko7OcF0dl8aNS5Sy/evmqmEgMtzgFmeukuxSVe5Khr9QaugiKt5gUmRQJyRf+r\n CDA8GXm11JMpb/+uL83Xd0LOyVmwkl3GAQOr83wAR+Jr4GcCZyOpq/Yz4Q8pVQoF/kgC\n QLyQ==","X-Gm-Message-State":"AOJu0Yw1ZLbwmL1Qod2HxMPLFdyetpdlZrzUAmh7Ijd2FcHyQwPMwd/K\n L6i4+vVPeFAAd0+w+m8B5ViXs0nslok/xqStCwFpc5+ofUSnR0Ss/Sz8hNDY11Xb","X-Gm-Gg":"AeBDieszQu+DlwiSONKiuwg2CROHdXRRm6Ant6NYQkGySqJI+ppi5Uu6TysWKOTv4HU\n tRMoW8GcTrDbwBWbwPosulNMaUnOKcSv6gPsM18hZzz7BStTJS7uLqcid9RJNqjaqzThAVbgEuX\n f72MjhPapwkUuiEqvZX4508ZYmWQHcykWmDuPtIx5V/TX9wGPj+g6BDk0KJJE6jK06BVfEYT8Eb\n hC1a6lxgMgoc5mjByAE3uqP1nk5sd5x59xjeasvgR67fHRAx42eqPIrIOZ2ei2By+5W/eR5rwSd\n Cq9X11/N1bwV6VcJ/7YWpOdNsl82JvsRtEeWHpn0P/rWsXOSq2UdxGRksaMKEBCTbpnCL4AOt23\n NfkueQ2HQmISHrwPFAZXdcvS7cpZzZNTmw+tjd03hh/Gw0LuQ4QCc2nTm5gg4beqiIhM1pqQfnz\n V3r/V1De6KEzfP/9fxOFB8daMtYehAtyCpi9lozcAOGMHQheZgvl8=","X-Received":"by 2002:a05:6000:4211:b0:43d:7275:c1eb with SMTP id\n ffacd0b85a97d-43d7275c413mr28179714f8f.39.1776353932677;\n Thu, 16 Apr 2026 08:38:52 -0700 (PDT)","From":"Michele Bisogno <micbis.openwrt@gmail.com>","To":"u-boot@lists.denx.de","Cc":"marek.vasut+renesas@mailbox.org, paul@pbarker.dev, jh80.chung@samsung.com,\n peng.fan@nxp.com, lukma@denx.de, mkorpershoek@kernel.org,\n trini@konsulko.com, Michele Bisogno <micbis.openwrt@gmail.com>","Subject":"[PATCH v3 1/2] regulator: rzg2l: implement connectivity notification","Date":"Thu, 16 Apr 2026 17:38:26 +0200","Message-Id":"<20260416153827.14256-2-micbis.openwrt@gmail.com>","X-Mailer":"git-send-email 2.34.1","In-Reply-To":"<20260416153827.14256-1-micbis.openwrt@gmail.com>","References":"<20260416153827.14256-1-micbis.openwrt@gmail.com>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-Mailman-Approved-At":"Fri, 17 Apr 2026 14:43:59 +0200","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":"Implement CON_CTRL manual connectivity notification.\nBy setting SEL_CONNECT and CONNECT_1, the UTM+ core is notified of\nconnection status in peripheral mode.\n\nSigned-off-by: Michele Bisogno <micbis.openwrt@gmail.com>\n---\n drivers/power/regulator/rzg2l-usbphy-regulator.c | 10 ++++++++--\n 1 file changed, 8 insertions(+), 2 deletions(-)","diff":"diff --git a/drivers/power/regulator/rzg2l-usbphy-regulator.c b/drivers/power/regulator/rzg2l-usbphy-regulator.c\nindex 0354555d0b5..03f8dec4f08 100644\n--- a/drivers/power/regulator/rzg2l-usbphy-regulator.c\n+++ b/drivers/power/regulator/rzg2l-usbphy-regulator.c\n@@ -9,16 +9,22 @@\n #include <renesas/rzg2l-usbphy.h>\n \n #define VBENCTL\t\t\t0x03c\n+#define CON_CTRL\t\t0x020\n #define VBENCTL_VBUS_SEL\tBIT(0)\n+#define SEL_CONNECT\t\tBIT(4)\n+#define CONNECT_1\t\tBIT(0)\n \n static int rzg2l_usbphy_regulator_set_enable(struct udevice *dev, bool enable)\n {\n \tstruct rzg2l_usbphy_ctrl_priv *priv = dev_get_priv(dev->parent);\n \n-\tif (enable)\n+\tif (enable) {\n \t\tclrbits_le32(priv->regs + VBENCTL, VBENCTL_VBUS_SEL);\n-\telse\n+\t\tsetbits_le32(priv->regs + CON_CTRL, SEL_CONNECT | CONNECT_1);\n+\t} else {\n \t\tsetbits_le32(priv->regs + VBENCTL, VBENCTL_VBUS_SEL);\n+\t\tclrbits_le32(priv->regs + CON_CTRL, SEL_CONNECT | CONNECT_1);\n+\t}\n \n \treturn 0;\n }\n","prefixes":["v3","1/2"]}