Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp63502ybk; Tue, 12 May 2020 15:27:24 -0700 (PDT) X-Google-Smtp-Source: APiQypJF2GSNzB2X8KAuV/we/D9A6BVl/Ditreu2Ye4hjhnYE6hXhmM/0k7BeVzuTal7YlKAryxn X-Received: by 2002:aa7:dd14:: with SMTP id i20mr19335205edv.225.1589322444596; Tue, 12 May 2020 15:27:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589322444; cv=none; d=google.com; s=arc-20160816; b=MSB8LizigB1XEp/wSTojCWvR3hxbUd9qJviOkZVgJM9e2L3XysjlITVMG7LqF0nv+b H8t1mym8gEHu/1vW4432B6mfYuSIrnoVFK6t8sAGdb5jppI/knJnkBzVJ5gsamFFmSei 8ID5lyGSlKJXETev+c3ufeCAssbA4ByaAUry2WoyNc951IjVXOOkpvrv3imGffVRcvjY cepcnTEGbebNfq6upX5MatunKLRY3T47wuiPCnnnju3EfZfMof94tg/piF8dowQ0/9Q/ sM2z8cWRjcY26/wKctDUTtLU0RJrfaYIaF9ufXrCQAHyKmBfkH52RyAUCnZYhSJM5UUx 4LLA== 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=T6/lnxUNaPxPPXlTLJRj6AhR7vTkkb3EZ8aqBlM0OWk=; b=siwzo/yoIcL8ZnSpfYBWbwfCP3iofUXYDYwyJbmfP+tGvc1jIyXGY05MX5bueH7gQa OrjAra8TUpqhuXEpuqkn9UMyAmOSR3Aq7NN3PZw/GXzgkHfTjXpZEpDNFfzT2kqjJJtL A7dNZ1cWBb7EwUlaut06WHxrzybzJ7EK9cYheV5DtKigYT9TaTXi7VOObFoi4FfvNqY6 /BpNMaNfH3PBkuyWyW+teLIiU1tNDXnrwbqBRBAvAIZi1HOJqfK+9rpyU7XI+Ktt2LuR vJOA+Q59ARUsPlu53EgVBb8PhQ8xR2+lG/AQgX7tx9EGYku8xzg+DpMmjQrCzQk31qp7 DbCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b="SrTd/ro7"; 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 r16si834029edp.57.2020.05.12.15.27.01; Tue, 12 May 2020 15:27:24 -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="SrTd/ro7"; 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 S1732019AbgELWYs (ORCPT + 99 others); Tue, 12 May 2020 18:24:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1731994AbgELWYm (ORCPT ); Tue, 12 May 2020 18:24:42 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B66AC061A0C; Tue, 12 May 2020 15:24:42 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id f134so11971897wmf.1; Tue, 12 May 2020 15:24:42 -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=T6/lnxUNaPxPPXlTLJRj6AhR7vTkkb3EZ8aqBlM0OWk=; b=SrTd/ro7AvaEauxrrPTxDh3wvmrjWHigYFTwI6OCAchA0LTOoEpBuyhjdECOi3W5JP nloq0YQb4LVaFJ6VN6jMc4vp45mu2GK2NfcpiPSB7PZcjFY/G4TJ/29TgVI+riddVEoL zUHupnteXosHUlb6g5tBM3MRUBRaAsYsPgJw5YGIK6TJcOeGeHWH2noAhwAjEgJ7xuNp NNWp6qZDm9EDrFYn8eWry4sxi1E95y7tlM33Mvgvv9fYzK+5509XDCTKjRnTh53apiu2 Uz9wc7CXgR42yew0ceWmexHuk4qJEcsX4qtzfW0GyiDsj0ePezsQiGlpEqBQz3rQxeQC ZpSw== 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=T6/lnxUNaPxPPXlTLJRj6AhR7vTkkb3EZ8aqBlM0OWk=; b=GujbnWv5+SB277d9bNMCbcOMg3wGZsdrrw17pWgFf9Sj+oog6aKn3KdqDh49JdrHra VtwaopqEvxgoBFp+Z4gBNoAFtWOXXYN4LDX1YHodlBtUDMBPG+cfD8avIrRplkVFkQzZ Lt9bAgXkf6E3KFVQG5u4efqqWOUKck+4Vi7y/kErkHozz//Cylfv0GywlNlbkigvMehY n2bE4plcXrlgkIZSIn3+AMjuInZmJ1asWrKqE8n00/J64q5RDgTdD3nIturI3CFJPC4/ 3nuR/fGhLikrlV90HbSjWv8Yoj0d1H410AEo9DV9xeKrCKBVGbALAmeh4SJX2Gc7RPDx 9t5g== X-Gm-Message-State: AGi0Puabrw42p9goXtTK0bRxGpri/xJmYIY4xo8QGuTTocyWvIbQxoy7 5/pjlNMsB8Nk5TR6MI2XsfA= X-Received: by 2002:a1c:f211:: with SMTP id s17mr43022273wmc.168.1589322280765; Tue, 12 May 2020 15:24:40 -0700 (PDT) Received: from localhost.localdomain (p200300F137132E00428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:f1:3713:2e00:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id b2sm21758758wrm.30.2020.05.12.15.24.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 15:24:40 -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 , Thomas Graichen Subject: [PATCH v2 6/6] phy: amlogic: meson8b-usb2: Add a compatible string for Meson8m2 Date: Wed, 13 May 2020 00:24:24 +0200 Message-Id: <20200512222424.549351-7-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200512222424.549351-1-martin.blumenstingl@googlemail.com> References: <20200512222424.549351-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. Tested-by: Thomas Graichen 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