Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1357226ybc; Tue, 12 Nov 2019 19:40:47 -0800 (PST) X-Google-Smtp-Source: APXvYqwu9KZ+IKF49zwEwM6CEWmWHm7ztk9ZEZQNWNtnk2PWGw2iA1iVm6bu+v03D1NAb15aVoKn X-Received: by 2002:a50:aad2:: with SMTP id r18mr1376383edc.44.1573616446778; Tue, 12 Nov 2019 19:40:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573616446; cv=none; d=google.com; s=arc-20160816; b=NNfNWQ6P1ZmX5W0ky18i3RnZuoyaDsdvK7kYGMlbi1yM6WtXsxOIEUyChuSikBmEWq vuhqJKcA8T+/hAG8hAySHNF5b+Vj/Uex+DX6ax87BfSZgzGL7BlnS1kk5buLcskTcZGq YQo/63Ai2wU8yCwVtPBFdg9jAkFeYrGBPIqj7+ZE+4GyKCaDF6SM8Y1UPMq6uQZW9me3 tux1RgYZm3akTHyuYjhPlbiSSIqGga94hRvtU3ks1/5i6N/xHw+PPU2VB6G0OoEU9Swg yWzYKUdXbvCU7KbSCRi8PVJdvhOPu1hT9OgEVAuMrKBTNl66Rigdr82flVsbnetG35kG izYw== 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=ojrDnsfdwYe9t3UwwQBjkpkbLrv4GYdPYJSAaR+f3sE=; b=xDPuKR+aSx0CDKW4y0GIderIVissZ/IKtAoqRNOovd5p3e4el37j0ZZbhBEnufe66e hpVIKdNp/2ncNwsM1awtvkZHkfoqsHolEKe3+bSgRqYCyRpCuVHzGHro6aFYKw6pwBOw QngM802Z7toa/AlPK/lxRkMO2JdFwbqAE2T2mWaBMEPGMeOQlf+gGRgmM2lv0XRSWQv8 s5bfY8eJ0BIus2zNF9omZEYqyg2MiI2CrfEFgInbqIsEpFjq/HuuXe+lVgXyl9V6PQGF ghL9lj5RNpFezXKZHDcC6d3tN8d3wkUwfMYmb5Dobv0ZvDVV92rTca3bMGIBl5wvoeHx qydw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=fqR3SopY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id nf6si363168ejb.406.2019.11.12.19.40.19; Tue, 12 Nov 2019 19:40:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=fqR3SopY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727531AbfKMDjh (ORCPT + 99 others); Tue, 12 Nov 2019 22:39:37 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:7391 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727334AbfKMDjg (ORCPT ); Tue, 12 Nov 2019 22:39:36 -0500 X-UUID: f139437760fb47b2828d7eae4b70c7da-20191113 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=ojrDnsfdwYe9t3UwwQBjkpkbLrv4GYdPYJSAaR+f3sE=; b=fqR3SopYE2LeOzeacYEtpzgkyJPDV2ukYBObcF3AZkly8vzQD0wJeLlz9nyspKW8vzNRZ/Cg6mw4O8fdOo1rQuv6BwQ2B3jZNicYHZfiaG4y1QibmMNshCX3OXtigki3szfNaVOJ65aukcZXW0NTbhrrCts/qbxh6GM7YLYfEdI=; X-UUID: f139437760fb47b2828d7eae4b70c7da-20191113 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1570457128; Wed, 13 Nov 2019 11:39:30 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 13 Nov 2019 11:39:24 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 13 Nov 2019 11:39:24 +0800 From: Ming-Fan Chen To: Rob Herring , Matthias Brugger CC: Evan Green , Joerg Roedel , , , , , , Ming-Fan Chen Subject: [PATCH v1 2/2] memory: mtk-smi: Add bandwidth initial golden setting for MT6779 Date: Wed, 13 Nov 2019 11:39:22 +0800 Message-ID: <1573616362-2557-3-git-send-email-ming-fan.chen@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1573616362-2557-1-git-send-email-ming-fan.chen@mediatek.com> References: <1573616362-2557-1-git-send-email-ming-fan.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org U01JIGJhbmR3aWR0aCBpbml0aWFsIGdvbGRlbiBzZXR0aW5nIGZvciBNVDY3NzkgbWFrZSBzdXJl DQpiZXR0ZXIgcGVyZm9ybWFuY2Ugb2YgbWVtb3J5IGNvbnRyb2wgZm9yIG11bHRpbWV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