Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp384579ybb; Fri, 20 Mar 2020 00:33:13 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvF2Jo8o4ADvacRgllMEbOb6SkFpUsOBoQuLihw8vNPgoiL1MXsdzad1vgNKG3GbS/lfNAi X-Received: by 2002:a05:6830:1051:: with SMTP id b17mr5718525otp.157.1584689593199; Fri, 20 Mar 2020 00:33:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584689593; cv=none; d=google.com; s=arc-20160816; b=BI4g/CDzryXJQBUHxcUvRegcxRD5u/0qGk+KkvSXcQ3bx+cIhHQn9BtewRrS6Y1reu a7hrlR+97qqHeckeYN2YjRTNOBDgWDAyK4uFS0gdrnNf9il1EITP616Yw7rSCwB4130r rUj9XrBFCfqiCQTQHQsqx5IG3U6Q6uIm0mYiEIqA70yEc9AQ6ztOKGLJ+aRc0VfyuQDk OyjoqBTgU5/Y9z3g27U+QtWiiDiw9LFeDXiblu3k5+nR6hwgVxDoQKdqVFAEgdhpd9zJ DkK1L1aC4x0+54ZsqryhQTtU4pw4qFS1f1jpwHQwBHi7qYEz2GxB2i6HO6FYM5COsCle gCkw== 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=+x/RaKoCkfCwpMICuvDH7GptQeRs7CoQEiKEdnihIqI=; b=J1CdS14uhnrY++doXeyLaM0YdIvw9/AnpWaPTPRmqjvxZoEJVKSwacCAYQUQCgecYB QkrFBHFB5XHTArnguLCfzoRL2CjvoCIQtuNNpvXMWjEn/kIdYGQ2ZdDFqpUMoZNDY1vP ym+9yCXbkPECWeZhJSDxjqAAqg8XUxrqSUYwRGeDovpxoLv6mH3Us/+3cDEX1qO/RS/8 ZhpJmEyTfoVJ1UV9J1nnh9LL8tOCAisCWpc3lcMe5KQ88zBeXsKKxTbUw2yiHf4e4fei vfxEyBJK1Gx2eGmbjbOyrhQL4mBzy/XcQrPa+PpVL4l6Pbw81k02sCql7H6y/TPzC2UR qvHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Gm1jrdTt; 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 g206si2311769oib.17.2020.03.20.00.33.01; Fri, 20 Mar 2020 00:33:13 -0700 (PDT) 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=Gm1jrdTt; 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 S1727016AbgCTHcl (ORCPT + 99 others); Fri, 20 Mar 2020 03:32:41 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:22824 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726654AbgCTHcl (ORCPT ); Fri, 20 Mar 2020 03:32:41 -0400 X-UUID: 9972461f735c48cd8d0f560ef66fd953-20200320 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=+x/RaKoCkfCwpMICuvDH7GptQeRs7CoQEiKEdnihIqI=; b=Gm1jrdTtUsoDWDLyhccTwFUUO3jZSp+iWtT+e8B1RWKWrUy5YmhbZ9xTqsh9zkRvF0DzFGBe8MZ43Km6fgYhJcfm/UjhrdW2zb+j11l0M/ow+WRmJUctjehTf7mwdX2+gHS/aZMWh6CEuRtz9DPsFbQV53Dw5RTHxx8SYUa6c9w=; X-UUID: 9972461f735c48cd8d0f560ef66fd953-20200320 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 167501818; Fri, 20 Mar 2020 15:32:27 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 20 Mar 2020 15:29:30 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 20 Mar 2020 15:29:19 +0800 From: Weiyi Lu To: Matthias Brugger , Nicolas Boichat , Rob Herring , Sascha Hauer CC: James Liao , Fan Chen , , , , , Weiyi Lu Subject: [PATCH v13 07/11] soc: mediatek: Add extra sram control Date: Fri, 20 Mar 2020 15:32:16 +0800 Message-ID: <1584689540-5227-8-git-send-email-weiyi.lu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1584689540-5227-1-git-send-email-weiyi.lu@mediatek.com> References: <1584689540-5227-1-git-send-email-weiyi.lu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 785C2CB3905C9FE7BC01CA5227E1AFA33C49322C18505C559705BE1FC2B71E742000: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 Rm9yIHNvbWUgcG93ZXIgZG9tYWlucyBsaWtlIHZwdV9jb3JlIG9uIE1UODE4M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