Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4327167ybv; Sun, 16 Feb 2020 19:36:00 -0800 (PST) X-Google-Smtp-Source: APXvYqwNoHsuWng1NhrFXGYPpL1IhyQIbbuRwig3gXEikbPN4pOmu72dvcdM/phnCbSDWh/aatBH X-Received: by 2002:aca:fd94:: with SMTP id b142mr8547045oii.11.1581910560059; Sun, 16 Feb 2020 19:36:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581910560; cv=none; d=google.com; s=arc-20160816; b=k/dWq6wHZXZRTGj3wy8VFlBB9AVy8XsopPx6j8V4jxHIjuxhXgCoKXMKuMbIH1WemX GgRLd9pMCUQBKJ5eYRxd2BBRwrECopRFhh8EB3q9ZyIwHfsYS7+OPQR/qR3Ioj1706tq a3W4W/616du5yXtSEuGmVRklyRTYpnvngJXiPv1vG0DQ3SVA1yyIEWpu7BfjgHfwBVpL +osK7UyT7zPaSxezNpPELYQ/PfNAXCAcsbVuA8hpDWIE7mg19JvTiaczmUGcJGsgadUo uJErtfkyuqFU2Txa8RKAiGps/lVP/V8s/0vVIvkN7JXbA7i4/uUP+pg4Gi6mkEpaoTip bNIQ== 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=osVJTfc3+O5/SgQjZzRAFBfpLdVSpvPrB0t6KZJcqcE=; b=ZvLIzHrXLCyOFLnGnLhnitV6y5dI84Z1w8IuSEVSboOQ6TKJ2L3n9/mKI5XgxU5jQ8 MbvxTkp0SnoTVEhCp+m2U2lG75Z/ah3xzUu7O3ZM8PHTmk5fFvLaN8gBSSUo4FNY7Xxs t5f3Ln8q+jPLAk4l2FxUiPFRfoOI0ijRGZjtYC+onbdpP4/CLcaDUYiOfq5A9+LNl4eu 4HzkM3H3btgFhil+77IPYd6+S1Qfic3w9+aFpy7CLqDsTtDFdJVbOT1lEKSETSlPj8pw pcOnsPxm4A5yVw5uruAxja276mPvaAogowwInFUuqzsQx05AKscp+SO0Lf72G43+Sq6a zF9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=iiGUMubU; 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 f9si6748748oti.44.2020.02.16.19.35.47; Sun, 16 Feb 2020 19:36:00 -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=iiGUMubU; 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 S1727934AbgBQDfi (ORCPT + 99 others); Sun, 16 Feb 2020 22:35:38 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:50592 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727842AbgBQDfh (ORCPT ); Sun, 16 Feb 2020 22:35:37 -0500 X-UUID: 11d6a31c01564af7aa61e857e8923ac2-20200217 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=osVJTfc3+O5/SgQjZzRAFBfpLdVSpvPrB0t6KZJcqcE=; b=iiGUMubU9tkEV4QlhsLSOkkFj4KTN5/GfyFHkEbCC9R1YrjOiFuJB82jtjH7M/6SRxpud6ccMsm7fVmTB0BrVhTHHHc+Q5ZUk5/lQ9QIdNJYDjPN7Rtxb1ILnLmesNOQPQDXmvpel5w52ZpbY02h1vlMAcP6D7/VUxyFuOBZbZg=; X-UUID: 11d6a31c01564af7aa61e857e8923ac2-20200217 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1842744209; Mon, 17 Feb 2020 11:35:31 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 17 Feb 2020 11:33:04 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 17 Feb 2020 11:35:08 +0800 From: Weiyi Lu To: Matthias Brugger , Nicolas Boichat , Rob Herring , Sascha Hauer CC: James Liao , Fan Chen , , , , , Weiyi Lu Subject: [PATCH v12 07/10] soc: mediatek: Add extra sram control Date: Mon, 17 Feb 2020 11:35:24 +0800 Message-ID: <1581910527-1636-8-git-send-email-weiyi.lu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1581910527-1636-1-git-send-email-weiyi.lu@mediatek.com> References: <1581910527-1636-1-git-send-email-weiyi.lu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 7270D9102BF5A08544586E1DD8B16973E11E82F97F029B8A937CBC2B781CBFE92000:8 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 Rm9yIHNvbWUgcG93ZXIgZG9tYWlucyBsaWtlIHZwdV9jb3JlIG9uIE1UODE4MyB3aG9zZSBz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