From patchwork Thu Jun 8 19:56:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Edwards X-Patchwork-Id: 1792567 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=bP9W4QAn; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QcZjl2wNXz20QH for ; Fri, 9 Jun 2023 05:56:57 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1AEB3857D0; Thu, 8 Jun 2023 21:56:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="bP9W4QAn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BF09E857AD; Thu, 8 Jun 2023 21:56:47 +0200 (CEST) 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, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 6D2BF857D0 for ; Thu, 8 Jun 2023 21:56:45 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=cfsworks@gmail.com Received: by mail-io1-xd32.google.com with SMTP id ca18e2360f4ac-7606d460da7so47384139f.1 for ; Thu, 08 Jun 2023 12:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686254204; x=1688846204; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=3RmOzg17h4qfEzWB2xVvE0EA1j+tSw7wNV+BMqNIN3o=; b=bP9W4QAnvwSVk5nsBVSZnNFUGNvn2pP7mIV7lwOAK8GwMtlyGt0DizLlQ4zaNyIrGZ o6tobf9mU2GxzopkcBoq4jy9ibVJlrdKMFHOBk/+jYlSOR2Sy0sEIsikmJVFFx20cQkG QUMj7x3nFbXl33LOugfVEpufbz3DJ26bAxmuRi5ofsv84m87UPZPZm1dS3X3cbKfcHAo PTxKOjbmqej8AZlHmkZUCsgsG3ycJwt2lDVuaYCX4gSQjyWwNiIs9N+zwRM9KzaE8j44 hWFYYjcZvQ5i/lGQpPNXNVVwtITwPT+qwFdE4zdUzmpvsAp8B7JXSqmUgDCf/MRys7eZ Ywow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686254204; x=1688846204; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3RmOzg17h4qfEzWB2xVvE0EA1j+tSw7wNV+BMqNIN3o=; b=acJaPYA2XYurP86YAybZpA3j4pvHzXMLYw4I3nh+53uUXXGWnvaEHtjqFMtI72+/BH +HLKGR1xKaUCLPyiSC3lrcRuJTOhpXXZkiIbXKWmGCpgwYFliM0lEEwwmawL3juuzXdl bmy+pry17TrgzZ0222m7pXJpeiVvtCNmgfAYmjEeQeXcR4edOhjhYbf3aDJiAodNWAyu fNjxnVLbZSJG6YD6kjQmPIk7EwBKy9kjFjRmpCDqhvug+h1TRnlmRpd4vtqD5sC9IHLp JCphC6dxRzXI1uHJEJQmGefnyMPPwovlxL+mGBje5MBbWzcRECm2r0Qf3UbJ+qjL6t4i Zzgw== X-Gm-Message-State: AC+VfDwRKuZLfnlJ4Csf+ToNaCCURZBeO+IJ8fL3ZVkp7DHEhLsL0R0d SE7fS8nYznJFuTjYeDwFh6zn3HSEZcI50YV0 X-Google-Smtp-Source: ACHHUZ6KVdzOIBVVZiQJek3MiJ9xjBL2uY5v/GWsshfvAJU3eSOp4Ri6LyfM8asX0Ij1qnyZox5sgw== X-Received: by 2002:a6b:7a0c:0:b0:777:b85d:d3f4 with SMTP id h12-20020a6b7a0c000000b00777b85dd3f4mr9220931iom.21.1686254203631; Thu, 08 Jun 2023 12:56:43 -0700 (PDT) Received: from celestia.nettie.lan ([2001:470:42c4:101:48b2:a45a:f2d2:c155]) by smtp.gmail.com with ESMTPSA id d16-20020a6b6e10000000b0077acb3225e0sm573874ioh.7.2023.06.08.12.56.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Jun 2023 12:56:43 -0700 (PDT) From: Sam Edwards X-Google-Original-From: Sam Edwards To: u-boot@lists.denx.de Cc: Andre Przywara , Jagan Teki , Marek Vasut , Sam Edwards Subject: [PATCH v2 0/2] sunxi, usb: UDC/DM gadget model support Date: Thu, 8 Jun 2023 13:56:29 -0600 Message-Id: <20230608195631.55364-1-CFSworks@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Happy Thursday, U-Boot list! Here is attempt 2 at making this USB controller driver compatible with DM's gadget model, following what most of the other musb variants do. v2 removes the unwanted printfs in the probe func, per feedback from Marek. I received no other feedback against v1 of this patch. Cheers, Sam Sam Edwards (2): usb: musb-new: sunxi: remove unwanted printfs usb: musb-new: sunxi: make compatible with UDC/DM gadget model drivers/usb/musb-new/sunxi.c | 52 +++++++++++++++++++++--------------- 1 file changed, 31 insertions(+), 21 deletions(-) Reviewed-by: John Watts Tested-by: John Watts