From patchwork Tue May 9 06:04:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangfl X-Patchwork-Id: 91381 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2653220vqo; Mon, 8 May 2023 23:09:42 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6ATKtriHZQzFtB3QVHxADEARFtjaIUy5RrGfc/s7tt8cj+wP/waGIxhC8Mq/PH6ueWPtwl X-Received: by 2002:a05:6a21:3a92:b0:fd:afba:9728 with SMTP id zv18-20020a056a213a9200b000fdafba9728mr12927534pzb.45.1683612581838; Mon, 08 May 2023 23:09:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683612581; cv=none; d=google.com; s=arc-20160816; b=WUz5OacrVHV9hzysD7JhXfQ3HyVnKikWITWxn1OMxiVZlmv6ROD/iBNM/2ucFbZ1Ix Gryl7ZLEvWaPN+VIbgUt7X+SBR0dV6VZIR7+gX0INfX4yAesL7keMhB3fA9HmxOne9fc kB79lhiH1frVzqyOnbkIh0qDqxYxdYcOJIAFOKB2cvru9TbgKnCySYD/jBuf63sTQYjF L4LGPjctUrzqTFyGqEXtAZ2Z8zqZXRaiEqezJvTddigDJvwDvntnzRpDl3rDtY+mW2MQ QKy/OJva/T0Y4gdTc2CFMwhgv0XZ+d3BrkblbxjFA1Nv/5vHdNRmtaBpzF+uLwDuDraH OyNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=s2lsYCo4oxUgya16WmGXOkA6dcbuRZDVUqCEBsg8LeM=; b=TRz1XqcyuCX2gdRlzjZKRbXXN4glCKuN/PbydQMgtLCm7fGKCBG2oogjE32BJUl1xY oGb+x79IePCfO94lF0m/5U49FXMIYOhqiWGutlVjRMgMHvn0YAzoDMWrUmSiKGtWuNiD Hy1zi4XcMZEcFlFt5rPmyoKE6GL5L2P+MDZUiXHKMZdgdRCAI5SvdXfeP9a6CIrA5laT JXu40dHIrVw/oB5ONTZ5ygd5iTvNrIPUhHnUtQvWcIDuSK4cvk//8T6kun86a7CllB// 4ndiCL+8h2HbRr0YVhJGfhyIVchG7T91BJdAE0OHQZpIPkk5+6M8WtuRFKOBwmUNjIe/ SXCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=psNYFFoR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p22-20020a639516000000b0052c219ec8f6si740689pgd.839.2023.05.08.23.09.27; Mon, 08 May 2023 23:09:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=psNYFFoR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234727AbjEIGFz (ORCPT + 99 others); Tue, 9 May 2023 02:05:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234707AbjEIGFw (ORCPT ); Tue, 9 May 2023 02:05:52 -0400 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D94DAA257 for ; Mon, 8 May 2023 23:05:50 -0700 (PDT) Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1aad5245632so38920315ad.3 for ; Mon, 08 May 2023 23:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683612350; x=1686204350; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=s2lsYCo4oxUgya16WmGXOkA6dcbuRZDVUqCEBsg8LeM=; b=psNYFFoRqXzVRJbUF65ed/Lk9AN38pc5tKdSAz5oVhZRsiOuudb0vUMkrslgSvKWEm KlNyA097ebWS3LdoAxPUKu23PxZA4k70BsFvfmHnIFVkIP/wjwJRdd6tJiahyI/wiO95 u/MulO7WH4sZlhW8Z7PSPw25BbxOzCN1HEbWIKJF7+Q8zOPhuVP5yO/gtdrSjpuctqcO Dr/iTxh6YDovylTlDo3c3bCjLbRi1HnNc9+S+y0LhUDymg7TN5ETzh4NR1TtLllwAEh7 F+ywYl5IqyycDigAa6BjUzqb9YXs+xNbweDJ9OtrvDlryD3TY3wjw3hR5dXycDbM1w5B Wf8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683612350; x=1686204350; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=s2lsYCo4oxUgya16WmGXOkA6dcbuRZDVUqCEBsg8LeM=; b=UwNHAXvagmfvIEQq7q6Jo7pd/GHhjExhqJ5OJzyqmmLmrkZNFdi4cuUyAZt4BO+eYs x3xHPYLX6LrdGwf/w+za5sEfLK0mdu1HmsgiF+3KoQxXeFEGBeDDhhfS4b9XKGT3O9j3 PbbuAey0SnrmLJDm9b1NhXWqYZ5AAORnFZxrjFYpGbYT2FNz4ohArHwqK+CVI4jDKNB0 O9CvUrdsGtFBzfJubMBsjk8e3PMiPHV5XpuDmNIkK90VbqMUgnP/pNujWGo3XQap1AAX s6zXYuq7ksev4h9v9vchbK9LV3hcyUUma0zaYrBEKznkhn0oJ8+bLkegut6Ji/opcTnc 0R/w== X-Gm-Message-State: AC+VfDwM62Bt1wALlkvoHpKjobtFzqwThmKfyedK5rRAtwWOHmtquhgI fqSHTY3UlwdThfpPC8AOm9c= X-Received: by 2002:a17:902:db08:b0:1a6:b496:4053 with SMTP id m8-20020a170902db0800b001a6b4964053mr14908706plx.59.1683612350228; Mon, 08 May 2023 23:05:50 -0700 (PDT) Received: from d.home.yangfl.dn42 ([104.28.245.199]) by smtp.gmail.com with ESMTPSA id ay8-20020a1709028b8800b001a9a3b3f931sm582220plb.99.2023.05.08.23.05.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 23:05:50 -0700 (PDT) From: David Yang To: linux-phy@lists.infradead.org Cc: David Yang , Vinod Koul , Kishon Vijay Abraham I , linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] phy: hisilicon: Add inno-usb2-phy driver for Hi3798MV100 Date: Tue, 9 May 2023 14:04:44 +0800 Message-Id: <20230509060449.1151113-2-mmyangfl@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230509060449.1151113-1-mmyangfl@gmail.com> References: <20230509060449.1151113-1-mmyangfl@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765395746628495236?= X-GMAIL-MSGID: =?utf-8?q?1765395746628495236?= Adopt existing phy-hisi-inno-usb2 driver to Hi3798MV100, with a slightly different TEST register convention. Signed-off-by: David Yang --- drivers/phy/hisilicon/phy-hisi-inno-usb2.c | 62 ++++++++++++++++------ 1 file changed, 46 insertions(+), 16 deletions(-) diff --git a/drivers/phy/hisilicon/phy-hisi-inno-usb2.c b/drivers/phy/hisilicon/phy-hisi-inno-usb2.c index b133ae06757a..15dafe359552 100644 --- a/drivers/phy/hisilicon/phy-hisi-inno-usb2.c +++ b/drivers/phy/hisilicon/phy-hisi-inno-usb2.c @@ -9,7 +9,7 @@ #include #include #include -#include +#include #include #include @@ -20,12 +20,25 @@ #define PHY_CLK_STABLE_TIME 2 /* unit:ms */ #define UTMI_RST_COMPLETE_TIME 2 /* unit:ms */ #define POR_RST_COMPLETE_TIME 300 /* unit:us */ + +#define PHY_TYPE_0 0 +#define PHY_TYPE_1 1 + #define PHY_TEST_DATA GENMASK(7, 0) -#define PHY_TEST_ADDR GENMASK(15, 8) -#define PHY_TEST_PORT GENMASK(18, 16) -#define PHY_TEST_WREN BIT(21) -#define PHY_TEST_CLK BIT(22) /* rising edge active */ -#define PHY_TEST_RST BIT(23) /* low active */ +#define PHY_TEST_ADDR_OFFSET 8 +#define PHY0_TEST_ADDR GENMASK(15, 8) +#define PHY0_TEST_PORT_OFFSET 16 +#define PHY0_TEST_PORT GENMASK(18, 16) +#define PHY0_TEST_WREN BIT(21) +#define PHY0_TEST_CLK BIT(22) /* rising edge active */ +#define PHY0_TEST_RST BIT(23) /* low active */ +#define PHY1_TEST_ADDR GENMASK(11, 8) +#define PHY1_TEST_PORT_OFFSET 12 +#define PHY1_TEST_PORT BIT(12) +#define PHY1_TEST_WREN BIT(13) +#define PHY1_TEST_CLK BIT(14) /* rising edge active */ +#define PHY1_TEST_RST BIT(15) /* low active */ + #define PHY_CLK_ENABLE BIT(2) struct hisi_inno_phy_port { @@ -37,6 +50,7 @@ struct hisi_inno_phy_priv { void __iomem *mmio; struct clk *ref_clk; struct reset_control *por_rst; + unsigned int type; struct hisi_inno_phy_port ports[INNO_PHY_PORT_NUM]; }; @@ -45,17 +59,27 @@ static void hisi_inno_phy_write_reg(struct hisi_inno_phy_priv *priv, { void __iomem *reg = priv->mmio; u32 val; - - val = (data & PHY_TEST_DATA) | - ((addr << 8) & PHY_TEST_ADDR) | - ((port << 16) & PHY_TEST_PORT) | - PHY_TEST_WREN | PHY_TEST_RST; + u32 value; + + if (priv->type == PHY_TYPE_0) + val = (data & PHY_TEST_DATA) | + ((addr << PHY_TEST_ADDR_OFFSET) & PHY0_TEST_ADDR) | + ((port << PHY0_TEST_PORT_OFFSET) & PHY0_TEST_PORT) | + PHY0_TEST_WREN | PHY0_TEST_RST; + else + val = (data & PHY_TEST_DATA) | + ((addr << PHY_TEST_ADDR_OFFSET) & PHY1_TEST_ADDR) | + ((port << PHY1_TEST_PORT_OFFSET) & PHY1_TEST_PORT) | + PHY1_TEST_WREN | PHY1_TEST_RST; writel(val, reg); - val |= PHY_TEST_CLK; - writel(val, reg); + value = val; + if (priv->type == PHY_TYPE_0) + value |= PHY0_TEST_CLK; + else + value |= PHY1_TEST_CLK; + writel(value, reg); - val &= ~PHY_TEST_CLK; writel(val, reg); } @@ -135,6 +159,8 @@ static int hisi_inno_phy_probe(struct platform_device *pdev) if (IS_ERR(priv->por_rst)) return PTR_ERR(priv->por_rst); + priv->type = (uintptr_t) of_device_get_match_data(dev); + for_each_child_of_node(np, child) { struct reset_control *rst; struct phy *phy; @@ -170,8 +196,12 @@ static int hisi_inno_phy_probe(struct platform_device *pdev) } static const struct of_device_id hisi_inno_phy_of_match[] = { - { .compatible = "hisilicon,inno-usb2-phy", }, - { .compatible = "hisilicon,hi3798cv200-usb2-phy", }, + { .compatible = "hisilicon,inno-usb2-phy", + .data = (void *) PHY_TYPE_0 }, + { .compatible = "hisilicon,hi3798cv200-usb2-phy", + .data = (void *) PHY_TYPE_0 }, + { .compatible = "hisilicon,hi3798mv100-usb2-phy", + .data = (void *) PHY_TYPE_1 }, { }, }; MODULE_DEVICE_TABLE(of, hisi_inno_phy_of_match); From patchwork Tue May 9 06:04:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangfl X-Patchwork-Id: 91383 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2659672vqo; Mon, 8 May 2023 23:25:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5u7wUqPaxFzHM3+6WGfSBK6XAPTC0fYSA7E4yT3QZ+hW2HaDHEFZ1wJNkAkWBggkp5TMQZ X-Received: by 2002:a17:902:e5ce:b0:1a9:465c:6800 with SMTP id u14-20020a170902e5ce00b001a9465c6800mr15756558plf.12.1683613536212; Mon, 08 May 2023 23:25:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683613536; cv=none; d=google.com; s=arc-20160816; b=SDt3HDHpX32xqLdwh0oe16mm77zIzej2W3wpF/0a7izQ0rFecDCeHN0sC9m3LGaDGS OzplB9wubQ5b8a5l7t1MWt2PVrwn0CkiAamtFKQ27Vng54E/nXf04Z9w/zLMsDkEJuKp Q16ictHuhLt7Acc6R4M5kI35EO1qazBex+pJ3dKVPLL54hyji1qQOUUrE8TU1kWsbi2i EPSFznUfByl5tYPm9EEJ2CIXqwd8p/1DBSkaVKuuJZqbqFc4ilnBFbnei3xcVQ5Mi+8D dr0cciFxRkM5KUrgqPvtZkxzMlX+U+4lM7SK7WSpvKlVsxwzrPIChJQbgjXz0T5QLCPI jvhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=kTbn+h4gklWy0dywRwfvbPwQi40OPxYHy/1+bcQ3D9A=; b=Vnu+q1/qBQuoGK8x/4HD2ovogdRN9xH+98r+gldClVT++YyjcObKaCl0GHPDIjRBX6 XmXH77dgyInkgKXllrzBC+IHVmHtLD6gOdx8+tq+DwD7MgLAPbPiZsm7DU1Dig9PPpIB EYtCrSo1mcuW/ovoBKTj28tSwa38dVxdOPckUIkLwc7gCKcxLUNEbOkDuKo3QH7dZ8Cm a8CjxeiIQjCOWpoEnu7gf71lsK59fi+8KLK3V38b3tFJLBeDph4/J1t34q6RZmZJylEE 5NzDAPvxQ+qBROYvc7LxP/dnr6WmMSRpJnLdPEVEdyocNctZ4kJ45FlOCZ9KEYyWGfIQ AmYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=I++T0POb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s16-20020a170902a51000b001aae5ec6ac9si733753plq.547.2023.05.08.23.25.21; Mon, 08 May 2023 23:25:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=I++T0POb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234771AbjEIGGH (ORCPT + 99 others); Tue, 9 May 2023 02:06:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234768AbjEIGGC (ORCPT ); Tue, 9 May 2023 02:06:02 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38F26A5DC for ; Mon, 8 May 2023 23:05:59 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1aaf70676b6so38142495ad.3 for ; Mon, 08 May 2023 23:05:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683612358; x=1686204358; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kTbn+h4gklWy0dywRwfvbPwQi40OPxYHy/1+bcQ3D9A=; b=I++T0PObS5Hlj30jDivMOzpKfFrKhlVzRGZ7kdj+puPlgR4LkyRYCiyq+h+KCQiUUT kzxKC1r7UD+LSAsTvlRLx49lkH/dJjDow1+eg+Tasa/LgA3+PePOYjVJhatDeix4YROg aIoG9ZyMMqvNrfptmZTPXEHicW/DkzVphK8zyu9IXyiPqR41ySQ2jBMcgQGZxMpIeAXO CQDgNikelA6PGPjDYGn7RNtqz5Npmu6iNR6CShjWhud2ANr0bAWuoE89WMf6FJk75e7+ iYmGw8kqDRnNrtZqKJXq2EpzTboLIUl1cBiRt5et1NzRBoX7eLuicWIaX60kTDDpOfS5 MEBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683612358; x=1686204358; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kTbn+h4gklWy0dywRwfvbPwQi40OPxYHy/1+bcQ3D9A=; b=MrTYiift71Xl1fqfaO6CvYC/qQQGATC6kP0ns3NFSCOWQZeo4Jwyp9B/KnADGmmrZ7 5tzj/lXLvyH4X0jAdJWlBlIaOVrmTAH9AsB8HFMOlbGl7Le8uwOR52XXSjkcUEotnijo cIt3hPeyde3NFkAXXW3V77cKr/TSPJPlSfhiDdXOXb/A+CpUYI5BDGRrlM+7z1XNDiZl 2xUIkS1iIiYlGxBPl0vthth6s5gJ8KHFQB8ukjIPAxfpDdu8yA1zZtvAIz1ko0NKsqS7 4AK/gYCosApmoBq9n7kLWqlJ9vjpd9PIRtiOp++t76mPn/4IJgzXDpafuv+7gdUPmrif nwxw== X-Gm-Message-State: AC+VfDwtkF69cPri9tUNl7+GkKWbphpeK49nntFE0lgkwlZHm/8w96AC XxQPg6En6gNAdo/wHq4oNQk= X-Received: by 2002:a17:903:2292:b0:1a2:3108:5cc9 with SMTP id b18-20020a170903229200b001a231085cc9mr18047893plh.40.1683612358698; Mon, 08 May 2023 23:05:58 -0700 (PDT) Received: from d.home.yangfl.dn42 ([104.28.245.199]) by smtp.gmail.com with ESMTPSA id ay8-20020a1709028b8800b001a9a3b3f931sm582220plb.99.2023.05.08.23.05.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 May 2023 23:05:58 -0700 (PDT) From: David Yang To: linux-phy@lists.infradead.org Cc: David Yang , Vinod Koul , Kishon Vijay Abraham I , linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] phy: hisilicon: Allow building phy-hisi-inno-usb2 on ARM32 Date: Tue, 9 May 2023 14:04:45 +0800 Message-Id: <20230509060449.1151113-3-mmyangfl@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230509060449.1151113-1-mmyangfl@gmail.com> References: <20230509060449.1151113-1-mmyangfl@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1765396747196273870?= X-GMAIL-MSGID: =?utf-8?q?1765396747196273870?= Support for inno-usb2-phy on Hi3798MV100 was added into existing driver, while Hi3798MV100 is a A9 ARM32-only SoC. Signed-off-by: David Yang --- drivers/phy/hisilicon/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/phy/hisilicon/Kconfig b/drivers/phy/hisilicon/Kconfig index d3b92c288554..6c89136fc8c2 100644 --- a/drivers/phy/hisilicon/Kconfig +++ b/drivers/phy/hisilicon/Kconfig @@ -54,7 +54,7 @@ config PHY_HISTB_COMBPHY config PHY_HISI_INNO_USB2 tristate "HiSilicon INNO USB2 PHY support" - depends on (ARCH_HISI && ARM64) || COMPILE_TEST + depends on ARCH_HISI || COMPILE_TEST select GENERIC_PHY select MFD_SYSCON help