Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1591083ybj; Wed, 6 May 2020 01:17:58 -0700 (PDT) X-Google-Smtp-Source: APiQypJPCf+ahHcM/ucdsHAd0Od7Bkh8nFPMGvtqmiYCgK+JnN5rdK+kzNMAUJmhV2LUY7+NrgpK X-Received: by 2002:a17:907:1185:: with SMTP id uz5mr6259781ejb.335.1588753078857; Wed, 06 May 2020 01:17:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588753078; cv=none; d=google.com; s=arc-20160816; b=hYG7nWUH+XyGI0fPt2inDVtMRZ3ZOpCToM8V+B7nVI/cj57kIU7kDsHwhdmQ6A0JcM VeYpx96jcnsb5VW2v4srTQCKZP4PrFIlUZD+LSPlugwSguMn4n7pdfXhJ3sfL4GPR6xN h0bIzc3RudxkACydmjCoimlj1tThmgQovX0xFuRHFSZE92+TafrcCkPcb94/2bewu4e4 gMPjZFP4tJFr4WtGnlxFJ9TYwsq+L8Xk3KPhM0svGRK6oLWabxI0otObxMd3qPStmojq uEL401DVsSLea5pLW7+EPz3+bTC+OuTXDrbQadd5Qck3fV/TwJoQVyyCtgVa2px/LCnp elTQ== 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=aXZUvouMFxyurZ2yu9YASdjDcHisyVRaedPl5pDsBXI=; b=0jDx3JBpd4fnabjE3B4FUAKyapNJ8D8OzzppCeeRQGj9UYmMrJ46p7j00v5p7U7p/L E+qqTnQc7QpyXjhHehvmeB5N1B9IUHx4DFzddbwiULgSpHEHHasyJjpd4SZY9Q4IDO9A epeVihFvVuR+w/e5lQDWzi9GH4+Dvs4Zi0IPBxr2sUDEUrv1A+hl3Uh6hZTQbAv8cUTP oFel38oT58uo1Lb7VQvWAvYuycQinur9ZoRzSilZSxDQxdyrTJ8Fe3xOuTUwp0Nc9UyW uy4Ia02f0Ga+FtMXUVF4pnu5GZI0Hb79CZ9ZHwvlmLe09i29fx/pRW/MHH1NKKKPwBvd as5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=oOCMFCPg; 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 u3si550383edy.541.2020.05.06.01.17.34; Wed, 06 May 2020 01:17:58 -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=oOCMFCPg; 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 S1728644AbgEFIQM (ORCPT + 99 others); Wed, 6 May 2020 04:16:12 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:11153 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728567AbgEFIQK (ORCPT ); Wed, 6 May 2020 04:16:10 -0400 X-UUID: cb21b14c3cf74e0d8b75992819cbfe83-20200506 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=aXZUvouMFxyurZ2yu9YASdjDcHisyVRaedPl5pDsBXI=; b=oOCMFCPgbbvl0sDvXUJd9pEDZlqr/KnBxn1eKLwteUly87dY5rMjnxV41Qi7L1gCjWZ1qiECaFHoV7HPTDeuGrrKEPw57V90+/SFjEL5eYGD0MPLS3Z07ozXlrPvHwsexPjLoXokTG7PO9SftP/Mun1tQ+4FNPcqnbqlQTQAF7k=; X-UUID: cb21b14c3cf74e0d8b75992819cbfe83-20200506 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1073119710; Wed, 06 May 2020 16:16:07 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 6 May 2020 16:16:05 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 6 May 2020 16:16:05 +0800 From: Weiyi Lu To: Enric Balletbo Serra , Matthias Brugger , Nicolas Boichat , Rob Herring , Sascha Hauer CC: James Liao , Fan Chen , , , , , Weiyi Lu Subject: [PATCH v14 07/11] soc: mediatek: Add extra sram control Date: Wed, 6 May 2020 16:15:59 +0800 Message-ID: <1588752963-19934-8-git-send-email-weiyi.lu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1588752963-19934-1-git-send-email-weiyi.lu@mediatek.com> References: <1588752963-19934-1-git-send-email-weiyi.lu@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 Rm9yIHNvbWUgcG93ZXIgZG9tYWlucyBsaWtlIHZwdV9jb3JlIG9uIE1UODE4MyB3aG9zZSBzcmFt IG5lZWQgdG8NCmRvIGNsb2NrIGFuZCBpbnRlcm5hbCBpc29sYXRpb24gd2hpbGUgcG93ZXIgb24v b2ZmIHNyY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