Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp196547rdb; Mon, 18 Sep 2023 12:07:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG108mu6fFQs0PUOFtxOgOnz9C9DQRCZDDM8Hl2XQHY5faotNrwQcyf0JVOUzUBdm6tQkRG X-Received: by 2002:a17:90b:fd2:b0:274:c637:4b97 with SMTP id gd18-20020a17090b0fd200b00274c6374b97mr4411950pjb.16.1695064021364; Mon, 18 Sep 2023 12:07:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1695064021; cv=pass; d=google.com; s=arc-20160816; b=pzDYYAHLcFyj0kyBSD58fgZty/wHYejEgwcVyfsh4nN+joy+rbiDeEilJkY2GMine/ lcqLVYE092XT1SPJOzUR7TmhUSn2mQJhzn6oe44V4n24bXW/U6DuYhuBqzStGvZkeWZX jydA9wns45fGoCIKCPS/jSKttzYVERVAU36eXFzNlz6xxymXbU/4YRDzShuj4Gzgvge1 33dp7zUe3wTJGmKxHtPU4GdWk3y+8c4u5CeKQ+Mzddm/mIhfp9M7QVhDrDwYswLYq378 9pIPRoYnbu0gVWL7V+RMjyHq1DPrkjDo0BGkziYfvSnVohNPw+MsvpizLGLycEOJ5zwM RqNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=C/26KH+EA6lvFQEO/nQIYrlOHn756T3Ld0n5AaeE/Wk=; fh=S2Yd6ZWf4PE3UWmHWDKlbLbWMSMC5tewAeJBwAWxIdQ=; b=bZwvHkZL8DZTvz1FdTAU7Synrd/tt7uLa+/0Ys3CX4LVWdpXjPGc2d887jbRnHIYO3 FMWKi3BkrIetwyZSGybzUaMJ2ESzn1y5T9Sk2G97MaQ5z2gxJOMYPmQlUHcwHm4RkKD1 khO6fC3/U0RwaBoSXbDrPm1nriMhfRtgrW4ildIRG8nPnScftjg6F+DhU/lPaTCJVNeE gSw1uxwtt/SRN40HheKR12m4W1CarDZbmGRVrT3xPK67KHqV4kFs+sXrMwaFmwo38G8t 9LISjgLy9b+B9p3yE4KGRGLj5EgY/HtxZBMuQD7Z3WeNWPHJiViCkGQ2xM1+NfSuXrFx 1ThQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nuvoton.onmicrosoft.com header.s=selector2-nuvoton-onmicrosoft-com header.b=EszytZzP; arc=pass (i=1 spf=pass spfdomain=nuvoton.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id g20-20020a17090a579400b00263220254e2si8213554pji.41.2023.09.18.12.06.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 12:07:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@nuvoton.onmicrosoft.com header.s=selector2-nuvoton-onmicrosoft-com header.b=EszytZzP; arc=pass (i=1 spf=pass spfdomain=nuvoton.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id F31588058A03; Mon, 18 Sep 2023 10:00:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231356AbjIRRAV (ORCPT + 99 others); Mon, 18 Sep 2023 13:00:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231363AbjIRRAP (ORCPT ); Mon, 18 Sep 2023 13:00:15 -0400 Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01on2051.outbound.protection.outlook.com [40.107.215.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A825FB; Mon, 18 Sep 2023 10:00:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=luj+v2LZusX6xUg1qxJBpgluZgkdNbUFXBcSfhRvlYlmLNJfpz0GDQ/DfJUQDMRyY6GBmthZgDWkX+tMsQ7u/Avcq1MstiOOLfB/VNKmp/S+uaFmKMcjqvFvmR1FLv3PizhAXnZgk15dcd5I96Tdg0qP+rf34QNSCUqoUu6bxeSGd4MCgr6tc1qTrtm7hlIW4+oZyQxsJRoO3FAxg9wlDfMw9MlgvnYAsbsdCJEQu3h7GZmXPnk2obVgxTBueqIzeF8yD5YJGnXJ6KamHFeTpNZK9StmN0EuBKcrb0M2um0HPRjf1xfJiLw4a+ov5cXg6iR2r6TDN2/HOR0Ibvgwew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=C/26KH+EA6lvFQEO/nQIYrlOHn756T3Ld0n5AaeE/Wk=; b=MZiGSu0y30BA6oHdmVoFtfgM2dlngyf1hYUq2X/0jzMkmeQMfFgG8IGVqq/26VixcL2Gn8L0qKdK3r5wi2GYAot6Dmkp+GKldASD1eTydWXfRJo7M5qegD8CkxT1XIOhWJV7SBHElKGUpEOVbkLQS5DLD9LpFdeozI5TFjKBIG3qxLTCXiaWhvbd510njzo96fzEIyuEED7MKCRLreM6XJ9ODnDWkmuvQvADj9qx2SGhe1lvc1N1czbnlculBvNA20UiWNk9yg9gMqcCvuC9uV2CssTMhBz1F6z+M7iJtNg0QbdQ7yHu6UBGq5lDe3cC+HRPmOMTdzT1RQwyOo5rOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 175.98.123.7) smtp.rcpttodomain=gmail.com smtp.mailfrom=nuvoton.com; dmarc=fail (p=none sp=quarantine pct=100) action=none header.from=gmail.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuvoton.onmicrosoft.com; s=selector2-nuvoton-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=C/26KH+EA6lvFQEO/nQIYrlOHn756T3Ld0n5AaeE/Wk=; b=EszytZzPru4MAb0fDIjnwGAYqLwK0EIKEuf4DuAI9/p/t6PQsrq6EN69c62+s4JHzRoE/H+QLQahmK1g90bGRWmlWxhG7pPyYh8rZCyENPmx33C9RUhMlgq/xLhoxTVudqE9Msky3mZG/oQa+UJbR/XYWkT6SD+/58dZuWqR28M= Received: from SI2PR02CA0039.apcprd02.prod.outlook.com (2603:1096:4:196::9) by TYZPR03MB5584.apcprd03.prod.outlook.com (2603:1096:400:57::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.27; Mon, 18 Sep 2023 17:00:03 +0000 Received: from SG2PEPF000B66CB.apcprd03.prod.outlook.com (2603:1096:4:196:cafe::72) by SI2PR02CA0039.outlook.office365.com (2603:1096:4:196::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6792.26 via Frontend Transport; Mon, 18 Sep 2023 17:00:02 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 175.98.123.7) smtp.mailfrom=nuvoton.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=gmail.com; Received-SPF: Pass (protection.outlook.com: domain of nuvoton.com designates 175.98.123.7 as permitted sender) receiver=protection.outlook.com; client-ip=175.98.123.7; helo=NTHCCAS04.nuvoton.com; pr=C Received: from NTHCCAS04.nuvoton.com (175.98.123.7) by SG2PEPF000B66CB.mail.protection.outlook.com (10.167.240.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.6792.20 via Frontend Transport; Mon, 18 Sep 2023 17:00:02 +0000 Received: from NTHCCAS01.nuvoton.com (10.1.8.28) by NTHCCAS04.nuvoton.com (10.1.8.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.14; Tue, 19 Sep 2023 01:00:01 +0800 Received: from taln60.nuvoton.co.il (10.191.1.180) by NTHCCAS01.nuvoton.com (10.1.8.28) with Microsoft SMTP Server id 15.1.2375.34 via Frontend Transport; Tue, 19 Sep 2023 01:00:01 +0800 Received: by taln60.nuvoton.co.il (Postfix, from userid 10070) id 5F1706473F; Mon, 18 Sep 2023 20:00:00 +0300 (IDT) From: Tomer Maimon To: , , , , , , , , , , , , CC: , , , , Tomer Maimon Subject: [PATCH v1 0/2] usb: ChipIdea: add Nuvoton NPCM UDC support Date: Mon, 18 Sep 2023 19:59:56 +0300 Message-ID: <20230918165958.2659-1-tmaimon77@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-NotSetDelaration: True X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SG2PEPF000B66CB:EE_|TYZPR03MB5584:EE_ X-MS-Office365-Filtering-Correlation-Id: 4c08622d-e08c-4324-5c3e-08dbb868b31e X-MS-Exchange-SenderADCheck: 0 X-MS-Exchange-Ant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com;PTR:175-98-123-7.static.tfn.net.tw;CAT:NONE;SFS:(13230031)(4636009)(376002)(39860400002)(346002)(396003)(136003)(61400799006)(48200799006)(186009)(451199024)(82310400011)(40470700004)(46966006)(36840700001)(7416002)(336012)(73392003)(6266002)(42882007)(36756003)(40460700003)(83170400001)(921005)(81166007)(356005)(40480700001)(47076005)(2906002)(4744005)(82740400003)(36860700001)(41300700001)(2616005)(54906003)(70206006)(42186006)(70586007)(110136005)(316002)(76482006)(26005)(55446002)(478600001)(5660300002)(6666004)(4326008)(8676002)(8936002)(82202003)(1076003)(45356006)(35450700002);DIR:OUT;SFP:1101; X-OriginatorOrg: nuvoton.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Sep 2023 17:00:02.2559 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4c08622d-e08c-4324-5c3e-08dbb868b31e X-MS-Exchange-CrossTenant-Id: a3f24931-d403-4b4a-94f1-7d83ac638e07 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=a3f24931-d403-4b4a-94f1-7d83ac638e07;Ip=[175.98.123.7];Helo=[NTHCCAS04.nuvoton.com] X-MS-Exchange-CrossTenant-AuthSource: SG2PEPF000B66CB.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR03MB5584 X-Spam-Status: No, score=0.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 18 Sep 2023 10:00:36 -0700 (PDT) This patch set add USB device controller for the NPCM Baseboard Management Controllers (BMC). NPCM UDC driver is a part of the USB ChipIdea driver. The NPCM UDC is using the CI_HDRC_FORCE_VBUS_ACTIVE_ALWAYS flag therefor, this patch set should apply after usb: chipidea: add CI_HDRC_FORCE_VBUS_ACTIVE_ALWAYS flag commit will apply. BMC NPCM7XX and BMC NPCM8XX has ten identical NPCM UDC modules, The NPCM UDC were tested on NPCM845 evaluation board. Tomer Maimon (2): dt-binding: usb: ci-hdrc-usb2: document Nuvoton NPCM supprt usb: chipidea: Add support for NPCM .../devicetree/bindings/usb/ci-hdrc-usb2.yaml | 16 +++ drivers/usb/chipidea/Kconfig | 4 + drivers/usb/chipidea/Makefile | 1 + drivers/usb/chipidea/ci_hdrc_npcm.c | 126 ++++++++++++++++++ 4 files changed, 147 insertions(+) create mode 100644 drivers/usb/chipidea/ci_hdrc_npcm.c -- 2.33.0