Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp297146pxv; Wed, 21 Jul 2021 23:39:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCgfY0qlBghZXsysGDPSQo99D7E8CYxK5lVJ8Ts9Z2xRATODXZpgrcqxlR0HJForLdM8fO X-Received: by 2002:a05:6638:3a12:: with SMTP id j18mr34951913jaj.75.1626935990545; Wed, 21 Jul 2021 23:39:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626935990; cv=none; d=google.com; s=arc-20160816; b=fhJ6ACWYVeARdhSAvZytMrOzziYwwj9AChFHgcuZ3PwUS71L5g2r0/XJN6kREeLotZ fsf8vXIrdH/tZVXGpJh0j7VAw1dEslBROS7hkiqU3ZtDDWPAMqUe+OBMYUl+6OWhkKQl 7rBsIPCe2HKsQwxB5foCNcSScg7uBJ5rQijUgaJ3ibc6MSIWRVq0mY+dxU5li7MOkitB at43mgO8hrD0uFmqfDvSP1eMVCqPnmc7Y0z+G1BzD91fU96WSPdvJSUtmzssRbn+FCll Ku0naMhHrxeKDV0JVeqdKBYnS1sgIw15Q8xJ35ZEceFPlxoJ90pxU2krdQLhX+oNHh9r BoHg== 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=E0/21i/rjqYJSvlRFf3hf7vSNWScyQPpeAG8uBlbP3o=; b=R1Eh83/TGRO4et0nz5mYhYhuNk4MmWQ1tgRU9Eywa6osE3IJZdHtvTneIn5p5n2/FJ MBoNBILS35e/xbR0HIDruwX+z1EJwuF3hkJ4mytaAo2WMBGTmgo+NpUjN3TSv+Ibiw8H V89868j37bNii/EDJtXnYdp+OqBzsB6iAY2SuGyefmsC6PAfC1KDgNPxAaGDe+f4eDYW PKaX77w343t1VZxPtUxyS02+fM+v+rwD/h8e+HR1KVW6pqV3YVfl0ZbAIrh+/qDFz+ID 1rSW0zc45Ih1rFxghB1nKf0zr893ADlr2kOd1Fm0ctqdW7ZShKm5B6Sm28wE4uKrHMhf 3tlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=AzDdA2Jm; 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 j17si25577879ilq.87.2021.07.21.23.39.38; Wed, 21 Jul 2021 23:39:50 -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=AzDdA2Jm; 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 S231341AbhGVF54 (ORCPT + 99 others); Thu, 22 Jul 2021 01:57:56 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:40904 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229931AbhGVF5x (ORCPT ); Thu, 22 Jul 2021 01:57:53 -0400 X-UUID: ea3b0ad1d7ae491e9e3dbd38de65456e-20210722 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=E0/21i/rjqYJSvlRFf3hf7vSNWScyQPpeAG8uBlbP3o=; b=AzDdA2JmY3JXcQjf4KRlTgeOVef8J0NRQ3sCNkds955AhMpRPyKxdWAhlLsv2RR1Soao421TCNDa6m/3HxVde2JN8NhwO/j2H6bjU8xgSbLame2sHJLVCQlfJ90zMzYmDqDsl4y9RRKw383zRBumVdSWM6JEaeqUSsvGykRM+To=; X-UUID: ea3b0ad1d7ae491e9e3dbd38de65456e-20210722 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 715036884; Thu, 22 Jul 2021 14:38:25 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 22 Jul 2021 14:38:24 +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; Thu, 22 Jul 2021 14:38:22 +0800 Message-ID: <1626935902.27875.7.camel@mhfsdcap03> Subject: Re: [PATCH v2 11/11] memory: mtk-smi: mt8195: Add initial setting for smi-larb From: Yong Wu To: Ikjoon Jang CC: Krzysztof Kozlowski , Rob Herring , Matthias Brugger , "Krzysztof Kozlowski" , Joerg Roedel , Will Deacon , Robin Murphy , Tomasz Figa , "moderated list:ARM/Mediatek SoC support" , srv_heupstream , open list , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/Mediatek SoC support" , Date: Thu, 22 Jul 2021 14:38:22 +0800 In-Reply-To: References: <20210715121209.31024-1-yong.wu@mediatek.com> <20210715121209.31024-12-yong.wu@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 T24gV2VkLCAyMDIxLTA3LTIxIGF0IDIxOjQwICswODAwLCBJa2pvb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