Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp893701pxt; Fri, 6 Aug 2021 17:13:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCS3iIQOn9LVhM5rnduCQrGld3d8yW0x29HqV1pm2fM0zTHq7D9WEsWicXbBBiXm9fEHuj X-Received: by 2002:a92:6a03:: with SMTP id f3mr119928ilc.43.1628295213198; Fri, 06 Aug 2021 17:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628295213; cv=none; d=google.com; s=arc-20160816; b=FlpdhNX4tXJ2PdxP6rXZlHqGm043+jpxKLeUK4n0LOYWEtNqvTnRKcawFQNqk8NbW7 c2BVNnL9bYhep1mJdC2LsLsBlOmQuAEoY67T4kZiu9eUUND4SrR11NNWjad7u3jrMFpP bpgq0wRU8Kfpe+NXNt+ohpexfuItYqk+4IBtKFVhSZyUIXBkiV1W6ECkZ7LWlSaJhcLX fEbr4yqKb2z8BVhVcJA50TBYxk/EYO/gk0FsKbaFxXyJ/+7eq4MA5BtjcBoD0US2cV51 8dVS08UhrzHv63IZN5D9cM7rKV6AMTqMfgMOWMmTuECSnc6x0YRJYxLWYeQdSJFObrNZ Vrow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=85KYKrivONUxgMBoJUEhliU3kHWvhvn/JV7RSsVVnI4=; b=WQVSv/VXA6dq+Ub0tOU+degeigNat4vdjvSao43aP5wYeu/Juy+y6iH0pnHdtz+2nq zlRuUdPhbuIAfqxVeJyNYu8tJlBpuDZbqfG9mNjHkRkcYdh8SYWbX26+53IFGi0njyd1 R7MP8hRsGHL77DY8ok/JnEGoltrKE6FYLAUlujwFgN18li6tGjEOwh0OuRCcZanu9a6c uw0e6a08g8X1m0VH7lO2fKemdhBUepbLoy0xIR976YEpVy4N1vfdCXpbFYEzwFNeCNZ5 lR3EiZu70FLhjDHBJlXC9duHuaqTGSq2k+cITXGodK3uDqEjlFjX9M0SelMzs933n2li eSIw== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i1si6533537iow.3.2021.08.06.17.13.22; Fri, 06 Aug 2021 17:13:33 -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; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245068AbhHFUnk (ORCPT + 99 others); Fri, 6 Aug 2021 16:43:40 -0400 Received: from mail-io1-f43.google.com ([209.85.166.43]:42778 "EHLO mail-io1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230221AbhHFUnj (ORCPT ); Fri, 6 Aug 2021 16:43:39 -0400 Received: by mail-io1-f43.google.com with SMTP id h1so13829891iol.9; Fri, 06 Aug 2021 13:43:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=85KYKrivONUxgMBoJUEhliU3kHWvhvn/JV7RSsVVnI4=; b=PfNgM1CjmZvbJh0ADTlCLhtSqzTCD8euq+pSnMQpK5lMw4VRBaHEkKtFOsAPNNhjfb I+cpd8C/SEkRmLBfrdq8rbefDFcKvYaLmDaXW/lWCq3+rKHXlACzq8KwgPJ5aeRytpJP EDYbymxr8r0N4fl6ymjic+5OlvyQ/Xn4Y6pTDeIYfmzbO4nu1ArFzvu1u/+65m39rZ5w xtAwIelz19VA2wzwvDXapkDuftXNzqs8RDN0o97nW52qHU/V5RCvPM8DwjYsB8AnhwSP 8uGczceKTyyS/69/u83OCBmGsnpquzOkig/067g65ivvYp84HcvZ2Sb01AXCt1YhcqQg Bq3w== X-Gm-Message-State: AOAM532j/pERC9/A3oSCuxXc/JHpokcxXAzZ6vtpbbEuGK2N19GK3FS6 ZMRnjJio7OizI9AqhAv/cw== X-Received: by 2002:a92:de09:: with SMTP id x9mr130637ilm.284.1628282602559; Fri, 06 Aug 2021 13:43:22 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id f16sm5253453ilc.53.2021.08.06.13.43.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Aug 2021 13:43:22 -0700 (PDT) Received: (nullmailer pid 1762401 invoked by uid 1000); Fri, 06 Aug 2021 20:43:20 -0000 Date: Fri, 6 Aug 2021 14:43:20 -0600 From: Rob Herring To: Chunfeng Yun Cc: Mathias Nyman , Greg Kroah-Hartman , Matthias Brugger , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Eddie Hung Subject: Re: [PATCH 03/11] dt-bindings: usb: mtk-xhci: add compatible for mt8195 Message-ID: References: <1627635002-24521-1-git-send-email-chunfeng.yun@mediatek.com> <1627635002-24521-3-git-send-email-chunfeng.yun@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1627635002-24521-3-git-send-email-chunfeng.yun@mediatek.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 30, 2021 at 04:49:54PM +0800, Chunfeng Yun wrote: > There are 4 USB controllers on MT8195, the controllers (IP1~IP3, > exclude IP0) have a wrong default SOF/ITP interval which is > calculated from the frame counter clock 24Mhz by default, but > in fact, the frame counter clock is 48Mhz, so we should set > the accurate interval according to 48Mhz. Here add a new compatible > for MT8195, it's also supported in driver. But the first controller > (IP0) has no such issue, we prefer to use generic compatible, > e.g. mt8192's compatible. That only works until you find some 8195 bug common to all instances. Can't you read the clock frequency? > > Signed-off-by: Chunfeng Yun > --- > Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml > index 61a0e550b5d6..753e043e5327 100644 > --- a/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml > +++ b/Documentation/devicetree/bindings/usb/mediatek,mtk-xhci.yaml > @@ -31,6 +31,7 @@ properties: > - mediatek,mt8173-xhci > - mediatek,mt8183-xhci > - mediatek,mt8192-xhci > + - mediatek,mt8195-xhci > - const: mediatek,mtk-xhci > > reg: > -- > 2.18.0 > >