From patchwork Fri May 20 08:26:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tommaso Merciai X-Patchwork-Id: 1967 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 785683F03D for ; Fri, 20 May 2022 10:26:28 +0200 (CEST) Received: by mail-ej1-f71.google.com with SMTP id sc20-20020a1709078a1400b006f4a358c817sf3673358ejc.16 for ; Fri, 20 May 2022 01:26:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1653035188; cv=pass; d=google.com; s=arc-20160816; b=Weci/eo3ZUML6KeGG92l6t/nfNtBwrAvMHb62pFRa9C5ODSp+xieTpnzsUc3vQ4GYH gNDi5peQ4J/7USq+64KMpT6WkMczS3Zr3nMPFYP8GjcglkCCJujQXgaVCZA+XSniwkFZ RwusWBFZSr+nyVJUTSP9YihmAhUAEM5c5Sb+YOSTdQHViQzPpfLUhJDoEoz3oJmGUoyw jDkg+ej4et7HRjj5MH9+6oUcXUCE1P2jlZnHZNWOVw5+EH8qARwLBJaSrj6b8shAESe0 GZyIYlSERxqX4BvtceAqK59W1DgIl7zneH64rxZFlBBeeXihLEn/dQuEQ20HFjUgrJcE zfOA== 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=ToXDyzsTbfULNScGtlg4GXW555YYpBn5vn7VAGoMPjQ=; b=kfPNGixYz8GZP7N8YI2suOhfDKaffdIgtkZ+OArkczjXLx6aT/YeyjG2+rPgkt0qrK bvZ2zcChrfqVfd/aySy5wFVR7Xikn5Ob/swMjiUmEL7l+GnDZQUZXd3oukFLWaZ25ZT3 7M/QS+d9hI2djAZk5tcYy/kX74k1W852Uracal5vZ0H6Gw8+ZdkIm4yDLomRpBj4mV3e yNOPZbMSkA4a3L91Hgp8faCvOLEGsLZEltDZHTovhSW5YVh9tNg2dkUHYHDYohRs/r4G GafWPgxx27hBms1KizlfQVEYjapfLsn6lPiSQbG+cBkyP7A5vHhbjkvofXe/MH2F/3+3 4cWw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gnPPfmkt; spf=pass (google.com: domain of tommaso.merciai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=tommaso.merciai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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=ToXDyzsTbfULNScGtlg4GXW555YYpBn5vn7VAGoMPjQ=; b=pbr4msU1mHrAgiiUv1Ggry9QmByx70sk+n6/v0K381F3MxayrICvIymN2pkxh2cDeC OlLmBlM7wAHAg8P/wXQ6+Geh8pkHnXRmM1FywWVOxc18RL3nsnfUNQL6KdaakN6t6nl9 NZKAbnWknyihuENjo5PrEgX5UnBflVgjFH//s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=ToXDyzsTbfULNScGtlg4GXW555YYpBn5vn7VAGoMPjQ=; b=ia1oHyzC5Da15oAFkhlNAGykxpjcA2V3OxqSbkbrqfCO0aDYkR8gUHUA7VEUmzXuWA ggM2CCFs0LYU9cN2XxChDG1TUma93MqaWKdvrT0jUPhkeI+/pRLIShwD9yHiBmMXRnnT u1I1xnCOuAaCJB2GH3bOjau3Rm1phS9KZS22QgbizPx1WsF1oukDMnnbCAp6lsG6QMQ6 sw+Ll1DhyQwE0h6DclMt4qDr8BrjDQ3BMhwQU51RrKC0e2g87hhkASPNP7HOnYXOUxpx EoR28c4C4RmA7z4EfNT72iJI6AQX8oIjHZwVpoaGMYp0M0XwE2VPHK0EiEqYdcixs3Sf 5hdA== X-Gm-Message-State: AOAM530k4qdjXmiyguql+Wxm272rusZOWV9dV6TR+ulW2dKMy9Xb5Gct 9uy/SZYkUBdfNh22628Y8a2wG7ef X-Google-Smtp-Source: ABdhPJyEbW6T6b877VfqKgvPwz1q4JJYzIAsYHhejFSbyVjjokdYCs5KsIu2bt3AkcdH9b4mzZj/cw== X-Received: by 2002:a05:6402:d75:b0:42a:c493:3736 with SMTP id ec53-20020a0564020d7500b0042ac4933736mr9497781edb.381.1653035188298; Fri, 20 May 2022 01:26:28 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:907:7ea2:b0:6f4:dcbc:baa9 with SMTP id qb34-20020a1709077ea200b006f4dcbcbaa9ls2778305ejc.2.gmail; Fri, 20 May 2022 01:26:27 -0700 (PDT) X-Received: by 2002:a17:907:2d10:b0:6f4:a700:6970 with SMTP id gs16-20020a1709072d1000b006f4a7006970mr7837532ejc.108.1653035187137; Fri, 20 May 2022 01:26:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653035187; cv=none; d=google.com; s=arc-20160816; b=K70AhjINrSKmjJdko3TDcCae/u7IC+NUIkWpt7mQ3smgaDjxj6Xazoi60Ycf4YwRj4 ByVa8OQDzLRIK07AV0r+sLHKCstsNSrYQ5nLKI3FIwqKVGBy9QJn6I0oMZW98V9Nazfd qEumgy+Hs2epczAL5ckTK3pWOQilSPKfsueMIfQGYiovcYIZrUGetzfM4eGFndP8OXYg x7YC1Ufc286X3u01Mn7nzROwniqAVuEM/ItpxVPaDp2w+BHa1URlzVMOJoukKjuRnwqA +T2I5xoG9aNXI6b4idpL0+haNxphlhpaP9+6xYJ3/PMdzvsOCbCVwhKFsID9/0PpP1pZ 65WA== 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=+TzQOQ/9DMthLzAhylwsdlAkZdMpvvdZjAEPs3U1/Z4=; b=rsbxAwn2OIXExuk5+sZDSUIb/5DZV7zuPJSVXuYD+zFKC1ed/jJ5M4n8lq7D4CaaIi ago/1k0t8y+/K4TfpY3JCW46a4SNu1/oMQsONq0YbrssQ0kN02Xolh3LHHcEJ1YgGs9m PicutoMp0XNNxXN+fqbEKmF/eZMVWfFt0Kw4Rwa7yi2h06vk4VFtDTwqrfxOTDWI8MSD MxioLY+D60D51mcVTABHdlqID6uE6kEil5R00dPSIn2ND8KdtXRRaLQd8cJ/xezguKqD 1I7eygBWC0O5ZGdAYb5MDRNJFShxS7R5IOC2JS0hJmkeLFg+n1xeCRBDLH/3gh0UYZid 6ebw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gnPPfmkt; spf=pass (google.com: domain of tommaso.merciai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=tommaso.merciai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id u3-20020a170906108300b006e88734e54asor3562415eju.11.2022.05.20.01.26.27 for (Google Transport Security); Fri, 20 May 2022 01:26:27 -0700 (PDT) Received-SPF: pass (google.com: domain of tommaso.merciai@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Received: by 2002:a17:907:6287:b0:6e1:6ac:c769 with SMTP id nd7-20020a170907628700b006e106acc769mr7826129ejc.388.1653035186746; Fri, 20 May 2022 01:26:26 -0700 (PDT) Received: from tom-ThinkPad-T14s-Gen-2i.station (net-188-217-53-154.cust.vodafonedsl.it. [188.217.53.154]) by smtp.gmail.com with ESMTPSA id el9-20020a170907284900b006f3ef214e55sm2896544ejc.187.2022.05.20.01.26.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 01:26:26 -0700 (PDT) From: Tommaso Merciai To: Cc: linux-amarula@amarulasolutions.com, Tommaso Merciai Subject: [PATCH 1/8] configs: imx8mm: imx8mm-evk: add usb defines necessary for ehci-hcd usb driver Date: Fri, 20 May 2022 10:26:16 +0200 Message-Id: <20220520082623.1788887-2-tommaso.merciai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220520082623.1788887-1-tommaso.merciai@amarulasolutions.com> References: <20220520082623.1788887-1-tommaso.merciai@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: tommaso.merciai@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gnPPfmkt; spf=pass (google.com: domain of tommaso.merciai@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=tommaso.merciai@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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: , Add necessary defines for ehci-hcd usb driver into imx8mm_evk config file. Signed-off-by: Tommaso Merciai --- include/configs/imx8mm_evk.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/configs/imx8mm_evk.h b/include/configs/imx8mm_evk.h index 42b78485cf..2489bc1ef3 100644 --- a/include/configs/imx8mm_evk.h +++ b/include/configs/imx8mm_evk.h @@ -39,6 +39,12 @@ #include #endif +/* USB Configs */ +#define CONFIG_EHCI_HCD_INIT_AFTER_RESET +#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) +#define CONFIG_MXC_USB_FLAGS 0 +#define CONFIG_USB_MAX_CONTROLLER_COUNT 2 + /* Initial environment variables */ #define CONFIG_EXTRA_ENV_SETTINGS \ BOOTENV \