From patchwork Tue Oct 22 17:54:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 863 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id B97EC3F047 for ; Tue, 22 Oct 2019 19:55:27 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id q1sf13084944pgj.3 for ; Tue, 22 Oct 2019 10:55:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571766926; cv=pass; d=google.com; s=arc-20160816; b=czZ488t7WAphV5hio8WCd3Lc0UgHdCAl90Tz18qkIu9myPtMQlFFHEYD6aaF+HsfIc fM3ltWIxOubE415fI+jWgW7zu2NiHsCABY2xSPNSvx0kQOEg6QpEvW1gjpb5PxG+U2m8 7W+LvHdEgivGt6OIIAGugYQyJOeUbZJk/n6M4BTwEYK/TX1I6JVDjcy4OYBRJx03vRcW t//LwOUQp1rQgoDbt4vYIscOZyRkQcs01/gESW03YldDccsb4Z29G5qZ3ndmefEk6OF8 tcZ9yGpF/GOCPWo3uzmpSLKNcSsqayIAVec+xHXHThmJeajs3HZLMQZozcOROWO/79W5 yJJg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=kS7pJukSaEIJZMn8i2yf8JzW+07DlL7eQ5NqOIdTrqg=; b=At//AinLK6gzbXNPnxiJXgepc8VvEQsZA7MoSomcOeJEobinuRntb50JdYyyWlx0Ed HM+jLbh24TrGiKmJeGovzKyx0iOYwO71JVJsyY4G4CawMVdNaaKl3SquZsWifW2XRMfs G5v7j4VJBgQ5y/WinjG/vHoB4iAXvpparWofsiMv3upmzs53nvjzRSv8q7i84yY+VBpm IFKVpqt7vX3mjuOHrCZsvsQsKqt5VG0/4jclOAP1v5WFfQpdzE5uNFhoySIV3HE0am+D y9TEwMsS0EnfewbAzouNGSPLAw3nsAj9/bJ0ueTnKkCaviRnYwm+OxGh5ONWXCTOwGzx xl4A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=EX8rg5XU; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=kS7pJukSaEIJZMn8i2yf8JzW+07DlL7eQ5NqOIdTrqg=; b=ld3AWz6btZPYreE3ipTg646bBX0PpmnwnLIgSH6PNEgDHilNeFqZ1dN90cV1eBXBSf b+ZZWQ7WVVMCazi5QGHYBLKWQc+fD3bHI7YdSsgFcXs9DcfRLETXBqZq0ij6+7j7q3m2 yWzYHeoSQQHky108lSWTegREfEyPy23Gla5EI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=kS7pJukSaEIJZMn8i2yf8JzW+07DlL7eQ5NqOIdTrqg=; b=aZG9adRUnq61ZyKrrHqEWf/GZD8JA2KycxmWuVtfL1klj6xzE9B/T2gb/+v5jMHy5p QMSnKzrXZG6IgeliAeUXTUHuhqUOD0ON0aYdyf2iPXHqxA0EWWlPxO2Iqbg8pSRCZI/D neAh4fa/iTqLeiEeXVI278I96pSnZji1/9YsMkjwCEbPsZuhUSIQxTAN9IXWC3hwtOcb l0LOZr76tFDub9eUP2vuXh410vlDyWKkadAXc+TwJnmDYNDXTI669RkY1AUCcXl4pAiC jHOn9NpSVFnheyD2qvVYSV+8K35b5F4pfJXjI9xYzWP0EJugh5GOlEIRdT07r2JdBNVz RmJA== X-Gm-Message-State: APjAAAXa1lrk5mLJoBo59pXmttKIhR+h+nQAaYT6tO6iU/jG4ENQ9wKr ZV19+dORt3ktCWzxlBhmxMHtr33E X-Google-Smtp-Source: APXvYqyggD6RBRLafYX1jcnFlYyeshJiqACW+E95l6ch4QCuUEc8+/ttDc4hh1o69xMz+UAQfMcs/Q== X-Received: by 2002:a63:4e09:: with SMTP id c9mr4922612pgb.98.1571766925772; Tue, 22 Oct 2019 10:55:25 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:c086:: with SMTP id o6ls1114208pjs.4.canary-gmail; Tue, 22 Oct 2019 10:55:25 -0700 (PDT) X-Received: by 2002:a17:90a:718a:: with SMTP id i10mr6160001pjk.54.1571766925277; Tue, 22 Oct 2019 10:55:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571766925; cv=none; d=google.com; s=arc-20160816; b=DgJD3G6x+9bmnQWlhPjKDP+Zyw4nJrH8xRf/u86Y9Jx29S55HiK4xPafsvX/OORp49 tgPkefuSWrBXwUsJWlUv7bVAu2AfjTi5b6RjIAqPUlrOeJ1RuQL2VPh5Nwts/n0//v51 AyuaXXWgoIVjGtFpLal9M4HTJX5XA5qsM28BBopDXzvsFjuLmj0OFA1i5M2Pb9x5tmuC mmPQL3vDS1ST3skzE1LkTggR86GuVkvGxQf997bqrImUvXW1pMt9+o6Y5ZDqvQlY+1SZ AiELYF2dp6irxfd6uHCkfJtj1c7IRRAw8+E2vJsB6orxmglShJUvw5EdoozvXh5AA0JP MEDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=PdCBo5rbmAI2jMy++P5hBEg7D83CbEs9rcXBuyu9L1c=; b=wbgEA1YKPQHs25RW3Yvq5bRozkcD1gx67BVHXFHJS1ibdmtuU1QG6hjOxmMhrAJyb2 bi6u41J6OFRU1SmPQFmKcYWFhEOTqiyRl3akQj7/Y8CiHcadplTacAszkysc3gwFhPc3 G/eeYnSNEXBQaa7S63Y+ph7pBoYb334lYDHb3Ca7M6oMaVsMBz/PvLO+t1ax1aAuPrR0 co0JmHMXC2JTKwYPJRQ2ERMxNpWaFIIU8JDcptGLKnTS3wr0n8mjQ6vX43iDdDztzyGK kpplrKmRFcrr0un7sHM5wyjVgrY/cRhSdC95inkWIashL+hhnun5SynAigXhpeL9TTr6 wu6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=EX8rg5XU; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id r19sor17582659pgn.32.2019.10.22.10.55.24 for (Google Transport Security); Tue, 22 Oct 2019 10:55:24 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a63:3d41:: with SMTP id k62mr4970782pga.129.1571766923806; Tue, 22 Oct 2019 10:55:23 -0700 (PDT) Received: from localhost.localdomain ([115.97.180.31]) by smtp.gmail.com with ESMTPSA id b3sm20454775pfd.125.2019.10.22.10.55.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2019 10:55:23 -0700 (PDT) From: Jagan Teki To: Kever Yang , Simon Glass , Philipp Tomsich Cc: Levin Du , u-boot@lists.denx.de, linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, Jagan Teki Subject: [PATCH 1/9] gadget: Select USB_GADGET_MANUFACTURER for rockchip Date: Tue, 22 Oct 2019 23:24:50 +0530 Message-Id: <20191022175458.22604-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20191022175458.22604-1-jagan@amarulasolutions.com> References: <20191022175458.22604-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=EX8rg5XU; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Select the gadget manufacturer as 'Rockchip' for all rockchip platform SoC's. This eventually drop the explicit defined added on supported board defconfig files. Signed-off-by: Jagan Teki --- configs/elgin-rv1108_defconfig | 1 - configs/evb-rk3036_defconfig | 1 - configs/evb-rk3229_defconfig | 1 - configs/evb-rk3288_defconfig | 1 - configs/evb-rk3328_defconfig | 1 - configs/evb-rv1108_defconfig | 1 - configs/firefly-rk3288_defconfig | 1 - configs/kylin-rk3036_defconfig | 1 - configs/miqi-rk3288_defconfig | 1 - configs/phycore-rk3288_defconfig | 1 - configs/popmetal-rk3288_defconfig | 1 - configs/rock2_defconfig | 1 - configs/rock64-rk3328_defconfig | 1 - configs/tinker-rk3288_defconfig | 1 - configs/vyasa-rk3288_defconfig | 1 - drivers/usb/gadget/Kconfig | 1 + 16 files changed, 1 insertion(+), 15 deletions(-) diff --git a/configs/elgin-rv1108_defconfig b/configs/elgin-rv1108_defconfig index b3d8d28bea..c9d703a0f5 100644 --- a/configs/elgin-rv1108_defconfig +++ b/configs/elgin-rv1108_defconfig @@ -49,7 +49,6 @@ CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x110a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/evb-rk3036_defconfig b/configs/evb-rk3036_defconfig index 2e7f57ae95..4df2a90b92 100644 --- a/configs/evb-rk3036_defconfig +++ b/configs/evb-rk3036_defconfig @@ -54,7 +54,6 @@ CONFIG_SYSRESET=y # CONFIG_SPL_SYSRESET is not set CONFIG_USB=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x310a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/evb-rk3229_defconfig b/configs/evb-rk3229_defconfig index 9c8c084178..be91ba1e0c 100644 --- a/configs/evb-rk3229_defconfig +++ b/configs/evb-rk3229_defconfig @@ -64,7 +64,6 @@ CONFIG_DEBUG_UART_SHIFT=2 CONFIG_SYSRESET=y CONFIG_USB=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x320a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/evb-rk3288_defconfig b/configs/evb-rk3288_defconfig index 043ee32bb4..a52e0af79d 100644 --- a/configs/evb-rk3288_defconfig +++ b/configs/evb-rk3288_defconfig @@ -73,7 +73,6 @@ CONFIG_USB=y CONFIG_USB_DWC2=y CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x320a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/evb-rk3328_defconfig b/configs/evb-rk3328_defconfig index 37610774c1..6f9a3a3e72 100644 --- a/configs/evb-rk3328_defconfig +++ b/configs/evb-rk3328_defconfig @@ -87,7 +87,6 @@ CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_DWC3=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x330a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/evb-rv1108_defconfig b/configs/evb-rv1108_defconfig index 2e28871f37..36bd7eb0f1 100644 --- a/configs/evb-rv1108_defconfig +++ b/configs/evb-rv1108_defconfig @@ -46,7 +46,6 @@ CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x110a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig index 29935d869c..4a1d7a6648 100644 --- a/configs/firefly-rk3288_defconfig +++ b/configs/firefly-rk3288_defconfig @@ -78,7 +78,6 @@ CONFIG_USB_DWC2=y CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_KEYBOARD=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x320a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/kylin-rk3036_defconfig b/configs/kylin-rk3036_defconfig index dc587070d3..41ad46f12a 100644 --- a/configs/kylin-rk3036_defconfig +++ b/configs/kylin-rk3036_defconfig @@ -58,7 +58,6 @@ CONFIG_SYSRESET=y CONFIG_USB=y CONFIG_USB_DWC2=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x310a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/miqi-rk3288_defconfig b/configs/miqi-rk3288_defconfig index 7b4e3f7f3a..3e761e9983 100644 --- a/configs/miqi-rk3288_defconfig +++ b/configs/miqi-rk3288_defconfig @@ -73,7 +73,6 @@ CONFIG_USB=y CONFIG_USB_DWC2=y CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x320a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/phycore-rk3288_defconfig b/configs/phycore-rk3288_defconfig index 2914ede36c..ce8a0e5268 100644 --- a/configs/phycore-rk3288_defconfig +++ b/configs/phycore-rk3288_defconfig @@ -77,7 +77,6 @@ CONFIG_USB=y CONFIG_USB_DWC2=y CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x320a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/popmetal-rk3288_defconfig b/configs/popmetal-rk3288_defconfig index 67dd3f3f2d..89400dd5de 100644 --- a/configs/popmetal-rk3288_defconfig +++ b/configs/popmetal-rk3288_defconfig @@ -73,7 +73,6 @@ CONFIG_USB=y CONFIG_USB_DWC2=y CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x320a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/rock2_defconfig b/configs/rock2_defconfig index 80d6db5d83..953d760155 100644 --- a/configs/rock2_defconfig +++ b/configs/rock2_defconfig @@ -74,7 +74,6 @@ CONFIG_USB=y CONFIG_USB_DWC2=y CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x320a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/rock64-rk3328_defconfig b/configs/rock64-rk3328_defconfig index 3ab0af1158..d86456e363 100644 --- a/configs/rock64-rk3328_defconfig +++ b/configs/rock64-rk3328_defconfig @@ -89,7 +89,6 @@ CONFIG_USB_OHCI_GENERIC=y CONFIG_USB_DWC2=y CONFIG_USB_DWC3=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x330a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/tinker-rk3288_defconfig b/configs/tinker-rk3288_defconfig index eff3b06b5c..aa9f86d6f8 100644 --- a/configs/tinker-rk3288_defconfig +++ b/configs/tinker-rk3288_defconfig @@ -79,7 +79,6 @@ CONFIG_USB=y CONFIG_USB_DWC2=y CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x320a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/configs/vyasa-rk3288_defconfig b/configs/vyasa-rk3288_defconfig index 89921e6836..3a8cc9e722 100644 --- a/configs/vyasa-rk3288_defconfig +++ b/configs/vyasa-rk3288_defconfig @@ -71,7 +71,6 @@ CONFIG_USB_DWC2=y CONFIG_ROCKCHIP_USB2_PHY=y CONFIG_USB_KEYBOARD=y CONFIG_USB_GADGET=y -CONFIG_USB_GADGET_MANUFACTURER="Rockchip" CONFIG_USB_GADGET_VENDOR_NUM=0x2207 CONFIG_USB_GADGET_PRODUCT_NUM=0x320a CONFIG_USB_GADGET_DWC2_OTG=y diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 26b4d12a09..1959a390f3 100644 --- a/drivers/usb/gadget/Kconfig +++ b/drivers/usb/gadget/Kconfig @@ -39,6 +39,7 @@ if USB_GADGET config USB_GADGET_MANUFACTURER string "Vendor name of the USB device" default "Allwinner Technology" if ARCH_SUNXI + default "Rockchip" if ARCH_ROCKCHIP default "U-Boot" help Vendor name of the USB device emulated, reported to the host device.