Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1651477ybz; Sat, 2 May 2020 04:50:28 -0700 (PDT) X-Google-Smtp-Source: APiQypIeAWwAVdGNyRlpKhp90ClRkECwwplSDIQIs2B2TggUelpp9PY9iBFEY5sIbwv1HVvlEFSi X-Received: by 2002:a50:b412:: with SMTP id b18mr6994337edh.42.1588420228426; Sat, 02 May 2020 04:50:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588420228; cv=none; d=google.com; s=arc-20160816; b=hDBWfdAnBI6cXRTjSCk4LpCZ9NVicg/NXEgVrTwA8zEz5NKnBQ7BES18A60DxLziqC wBwdKACbYajogN311YSg3//8GAXOR9sDZ6HAbNpft7EWIqOM4dK4Dvg2+mdkQ5V+A+PM QryDeuKj/FphqNw2vnClsc+S+uIAp6XdBRUn1GC8xsRIAI3QMPkRaXW/2h7Cbjf69IW+ PDLl+TLRCbgBc8CUBZVYfrdDIJNUMsDQ8elz+0DG3XOvh0TcqI80u5r0Soycoj/AZEJB bA4zMdPa2o0SbS9w6OS3DlBgyHmhKeO9HN7U6T539zQG8crwoTCjRdgI9QFvTtcNfDDD SArg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=n8Y8vyWaKjvq+2hEsWpjb9Kq65ykf9NzPsAFh4Ba51Q=; b=v6dQb/8L+aul4ynaNW9xsHKriEKsw2PU5K5AYxi8dZzFY1EXDbIYQChRahzWAfkBYp 6v2cejx7LyFviDbS+/JiM9pNfasKa7+d+w70HtFl1GuDF4EaLFFOIK30+4D+w48Q3LWv 2D4Aq3A4kZW22/W/JuIdb6445kd0y8idz17YMomUI+S5yOe1iXNqU3xr0W+tRPoq5CVV IkeacvaS1fllE0q6GZaT0F8mYXQdRttLntKK/CJ93AzfWHXuNcstVR9Fb1g4Dz7JbLm0 /y697svUbCL4/Xu6gK0tDzdTGu4N1XfZJ5k5oSZ8x1aqY06GEuha3pkEV+du6jgvd5Q0 e02w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=Qg8zpCQ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y4si3381226edv.549.2020.05.02.04.50.05; Sat, 02 May 2020 04:50:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=Qg8zpCQ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727943AbgEBLsk (ORCPT + 99 others); Sat, 2 May 2020 07:48:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727863AbgEBLsf (ORCPT ); Sat, 2 May 2020 07:48:35 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B243CC061A0F; Sat, 2 May 2020 04:48:34 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id g13so14953936wrb.8; Sat, 02 May 2020 04:48:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=n8Y8vyWaKjvq+2hEsWpjb9Kq65ykf9NzPsAFh4Ba51Q=; b=Qg8zpCQ1u60k5Adv5X4albNsxBd5cOJphyEaRw668QCuIQAcUO80mitHI84Wf+ezHu DCSUe4xWXO32INPx76D/UA3aaZXV+ZirOTfKbTwEuXsrVLwcaogx1MVqZCzOQTNuoGXm UJcGDkbipMc5NqcrzYpoJvCGS+c4HAOL6UhNNlq/jfpwMr10ukz+mVBfs5LsW83clJw7 ZWocN0itCyqLfmUwCTZpHIJ79A80gIXZC/89GUaEHC//JvImGNYmlpI+UpgPvb9yvnzP 8yO6fn9Tn06ISbl9VtWDLMx+yUK5ea3u5g9DuY1+BcnbLiyuGp4mc0QjNlOb1d2Ehza9 fbsg== 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:content-transfer-encoding; bh=n8Y8vyWaKjvq+2hEsWpjb9Kq65ykf9NzPsAFh4Ba51Q=; b=BEHGH8kcGSSvqZXJWnR/MXc2PuTj3gDsllqYMT8EKiN9S0xFYF5vpuXXt9ZOavGpg7 UX5c8ChwrJ5/XVS8RhtvejmAOMlzfsUdLgD5bF7qiFWkNdy0blMUjohDT9u8xWs5oViW l/pq640K1bU0xX/lTKjvo7ooMm3KBVz0k5/HJo6BXscjh2GS5RMiooezxOwlcKl3+QPb M8ximSqrb7m5VgjJ5AaT4xk+8lB5gcFlymhBfzZyyBcJ5KuWQm187ufZjKsZd50C8ctj qkpAxNPfXEK79uwUAcHNQlQVLu1ZbV7fqqwvyWUPUhlGsNYuqSP63rJEWify6e6ZJ6tx HHDg== X-Gm-Message-State: AGi0PuYaFGcE44r6/uKSS9dV0hFdof83Ar6XB7iDRPYvsgUJ02+yzKOH JxSSAzVuiA9NESJOgPkG/VWFjY9WFo4= X-Received: by 2002:adf:e8c4:: with SMTP id k4mr8656076wrn.209.1588420113272; Sat, 02 May 2020 04:48:33 -0700 (PDT) Received: from localhost.localdomain (p200300F137142E00428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:f1:3714:2e00:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id s17sm3801599wmc.48.2020.05.02.04.48.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 May 2020 04:48:32 -0700 (PDT) From: Martin Blumenstingl To: kishon@ti.com, robh+dt@kernel.org, vkoul@kernel.org, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org Cc: narmstrong@baylibre.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, hexdump0815@googlemail.com, Martin Blumenstingl Subject: [PATCH 6/6] phy: amlogic: meson8b-usb2: Add a compatible string for Meson8m2 Date: Sat, 2 May 2020 13:47:52 +0200 Message-Id: <20200502114752.1048500-7-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200502114752.1048500-1-martin.blumenstingl@googlemail.com> References: <20200502114752.1048500-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The 3.10 vendor kernel sets the ACA_ENABLE bit on Meson8b, Meson8m2 and GXBB, but not on Meson8. Add a compatible string for Meson8m2 which also sets that bit. While here, also update the Kconfig text and MODULE_DESCRIPTION. Signed-off-by: Martin Blumenstingl --- drivers/phy/amlogic/Kconfig | 2 +- drivers/phy/amlogic/phy-meson8b-usb2.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/phy/amlogic/Kconfig b/drivers/phy/amlogic/Kconfig index 3495b23af797..5ec53874d1ea 100644 --- a/drivers/phy/amlogic/Kconfig +++ b/drivers/phy/amlogic/Kconfig @@ -3,7 +3,7 @@ # Phy drivers for Amlogic platforms # config PHY_MESON8B_USB2 - tristate "Meson8, Meson8b and GXBB USB2 PHY driver" + tristate "Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY driver" default ARCH_MESON depends on OF && (ARCH_MESON || COMPILE_TEST) depends on USB_SUPPORT diff --git a/drivers/phy/amlogic/phy-meson8b-usb2.c b/drivers/phy/amlogic/phy-meson8b-usb2.c index 436dfa1a8a04..03c061dd5f0d 100644 --- a/drivers/phy/amlogic/phy-meson8b-usb2.c +++ b/drivers/phy/amlogic/phy-meson8b-usb2.c @@ -302,6 +302,10 @@ static const struct of_device_id phy_meson8b_usb2_of_match[] = { .compatible = "amlogic,meson8b-usb2-phy", .data = &phy_meson8b_usb2_match_data }, + { + .compatible = "amlogic,meson8m2-usb2-phy", + .data = &phy_meson8b_usb2_match_data + }, { .compatible = "amlogic,meson-gxbb-usb2-phy", .data = &phy_meson8b_usb2_match_data @@ -320,5 +324,5 @@ static struct platform_driver phy_meson8b_usb2_driver = { module_platform_driver(phy_meson8b_usb2_driver); MODULE_AUTHOR("Martin Blumenstingl "); -MODULE_DESCRIPTION("Meson8, Meson8b and GXBB USB2 PHY driver"); +MODULE_DESCRIPTION("Meson8, Meson8b, Meson8m2 and GXBB USB2 PHY driver"); MODULE_LICENSE("GPL"); -- 2.26.2