Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp2988975pxy; Tue, 3 Aug 2021 22:34:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCYndUzGSyIwzaSczE7ODPY6qPECCZ7u++7QT3CbQfFv7sumZHpdW0KcX6plUKLiufDbR2 X-Received: by 2002:a05:6402:1385:: with SMTP id b5mr29850053edv.276.1628055296222; Tue, 03 Aug 2021 22:34:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628055296; cv=none; d=google.com; s=arc-20160816; b=jwm5jGT3AifYuITaKX57lPYfiVKKdy3XCqz2CnK2NlYfqYMyL8sPlTjxnse03qyVCp N/074bKy/Idv4QM9Dmg2FfLT7D7p2pi4DEvcz2Xb7HbCPcnqP8SsYN6rmqIVld4dfu9K v9aaRU5B8aedoNxUE5JP5Y1pIuauagm1xzFYSoDoseo8kIWBVXfxE54a+MqM1uSmONUD 3apeoTYJQKFUPVT7b0doBC/g26kuRzIgnASZNSopUXx5ZfmQyLFvIsKOZlwuISpLsvoo Y6KB97Nl6E2tekW53QrckTyp/PX4C+OotfIGzGwn/Ug6ML/5BE3DoKpmJTsrFEzZZdpg GXXg== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=lTtejfzC/dI1hPB49Y0KNSixxnq5EFnA0JdBRkQ8O7g=; b=GLv/poAkxGsUZxwfOioPLuA03T7yZ0RB0xllT+M3AjtvtbB9ZMEvlZpd79vM0H6Mc9 pwdgClTqKzUukgo67cCx1Zv7CxLfN6x3b3YOweRjjd5yx5ptKxKXYYDztGxttjO7FyIs R182jpbcEuLl6sNvlCciOlqg3Ip/6RGOhVf9SnTLVUQLudONPRsYXqUAXeezUX7wwvTq PF+xxTAtmlfCt6hg5W/FTUtC0cyQd/RdmZXh4V/pecjSsFGr6JivP3X8MvCmEYp1albR a13mzOAeGuFqHjRoKQh55rSR71de28KmZyHKTIntaUU9B6yUYlLug3LOXlhDlutKqNjc hJ8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=I+4OB8kq; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ne7si968636ejc.648.2021.08.03.22.34.32; Tue, 03 Aug 2021 22:34:56 -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=@mediatek.com header.s=dk header.b=I+4OB8kq; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234557AbhHDFUE (ORCPT + 99 others); Wed, 4 Aug 2021 01:20:04 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:42580 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S231592AbhHDFUD (ORCPT ); Wed, 4 Aug 2021 01:20:03 -0400 X-UUID: 0156c2db61064683851d0ba38aa8d377-20210804 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=lTtejfzC/dI1hPB49Y0KNSixxnq5EFnA0JdBRkQ8O7g=; b=I+4OB8kqeMMB9e2ENYDVTj9S35N6OUJiWGgcQB/wEeWOKhf2aAm/YQKzsVZwP3xhN/MSeQADFZ5TvsVQKnQaMIoc1QI6MSg1k9UpjIHdpgJNnV06T5L9gcz2Lc/1ndMufqPL1Cp78wnv8SGMpOBaIs5Zv/TM451lDUhtinrYVZg=; X-UUID: 0156c2db61064683851d0ba38aa8d377-20210804 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1879885696; Wed, 04 Aug 2021 13:19:47 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 4 Aug 2021 13:19:45 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 4 Aug 2021 13:19:44 +0800 Message-ID: <1628054384.14982.12.camel@mhfsdcap03> Subject: Re: [PATCH 08/11] usb: xhci-mtk: update fs bus bandwidth by bw_budget_table From: Chunfeng Yun To: Ikjoon Jang CC: Rob Herring , Mathias Nyman , Greg Kroah-Hartman , Matthias Brugger , , "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , Eddie Hung Date: Wed, 4 Aug 2021 13:19:44 +0800 In-Reply-To: References: <1627635002-24521-1-git-send-email-chunfeng.yun@mediatek.com> <1627635002-24521-8-git-send-email-chunfeng.yun@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVHVlLCAyMDIxLTA4LTAzIGF0IDE0OjA1ICswODAwLCBJa2pvb24gSmFuZyB3cm90ZToNCj4g SGkgQ2h1bmZ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w0KPiA+DQo+ID4gICAgICAgICBu dW1fZXNpdCA9IFhIQ0lfTVRLX01BWF9FU0lUIC8gc2NoX2VwLT5lc2l0Ow0KPiA+DQo+ID4gLSAg ICAgICBpZiAodXNlZCkNCj4gPiAtICAgICAgICAgICAgICAgYndfdXBkYXRlZCA9IHNjaF9lcC0+ YndfY29zdF9wZXJfbWljcm9mcmFtZTsNCj4gPiAtICAgICAgIGVsc2UNCj4gPiAtICAgICAgICAg ICAgICAgYndfdXBkYXRlZCA9IC1zY2hfZXAtPmJ3X2Nvc3RfcGVyX21pY3JvZnJhbWU7DQo+ID4g LQ0KPiA+ICAgICAgICAgZm9yIChpID0gMDsgaSA8IG51bV9lc2l0OyBpKyspIHsNCj4gPiAgICAg ICAgICAgICAgICAgYmFzZSA9IHNjaF9lcC0+b2Zmc2V0ICsgaSAqIHNjaF9lcC0+ZXNpdDsNCj4g Pg0KPiA+IC0gICAgICAgICAgICAgICBmb3IgKGogPSAwOyBqIDwgc2NoX2VwLT5jc19jb3VudDsg aisrKQ0KPiA+IC0gICAgICAgICAgICAgICAgICAgICAgIHR0LT5mc19idXNfYndbYmFzZSArIGpd ICs9IGJ3X3VwZGF0ZWQ7DQo+ID4gKyAgICAgICAgICAgICAgIGZvciAoaiA9IDA7IGogPCBzY2hf ZXAtPm51bV9idWRnZXRfbWljcm9mcmFtZXM7IGorKykNCj4gPiArICAgICAgICAgICAgICAgICAg ICAgICBpZiAodXNlZCkNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHR0LT5m c19idXNfYndbYmFzZSArIGpdICs9IHNjaF9lcC0+YndfYnVkZ2V0X3RhYmxlW2pdOw0KPiA+ICsg ICAgICAgICAgICAgICAgICAgICAgIGVsc2UNCj4gPiArICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgIHR0LT5mc19idXNfYndbYmFzZSArIGpdIC09IHNjaF9lcC0+YndfYnVkZ2V0X3RhYmxl W2pdOw0KPiANCj4gSSBhZ3JlZSB0a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