Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1608667ybk; Sun, 10 May 2020 23:09:13 -0700 (PDT) X-Google-Smtp-Source: APiQypIof9cNrfPqghXcJ91AxI+e53HU1iz2X+5SrEgGiWH3GSeKvHBLmRq92YsGVoJlzost2vX7 X-Received: by 2002:a17:906:5695:: with SMTP id am21mr6553605ejc.223.1589177352968; Sun, 10 May 2020 23:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589177352; cv=none; d=google.com; s=arc-20160816; b=nDrCCiSzNbCoXiveSIFonIaOWkH46NbiFoXDtrHFwBb1YrLK5CafkNW/VbUiS0iFDC Ne7W6U7jXc7KvKEya6tv0UHme7nSTCd4eKBQUPwavRh4gY6tvsIevFMVmKIS8dJ65JZ+ RH9K+/DxylhFbwlHcdPi7gQOv44vAAGoU96BNBPttPakMEGJIYgS+1H+Q7O1NY9ifMEc cXz08dU03lc18RWvoVXnsBxbJ/LAFrT7gbTH++NKCU4I6aTozeQJB0Nh1UXi7LSpAzor UySx/tyMOoW0Ry6Up7YM0/xfUXilzKQBjLMD+pG0+Mbeblc838qqp8RwgRQZMc0l8+VH vStg== 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:date:cc:to:from:subject:message-id :dkim-signature; bh=U+zyaXCjeWA/QnQwgJfP/AK+Tn0+3JKceonniVGdi+0=; b=T4EuKbnHxmruWapG3o75PBeuMwT7yUtXCt0knL78feR7qjXmE48f70RknbC9VuleLv /6UTqmN+AGvFKHRPz6QVrIqE+yH4X9KoP5x2uA99WnLLPRVMSi2fbkIOJpFKmhGiFuDo H/cDAQ+iY4dODOEj+k5UFTUkoO2yJro7GOUH46d6ZerCFKAIJdUEPbam33lw7WNhD+f5 xJFt2HTAj9ShIj5CV3nQc9UpatoA23AJCdJuYK58QgHEjqFRLbcaP3+tvGyDoBy2w181 hXT7uWg8q0B9emCyWQmZ99Q4RY2jJWycpoSHLRLNIByFY/5sh+bYeNNZcmddDY2ovazK AvDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=iC0aMSlU; 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 g17si2442006ejp.54.2020.05.10.23.08.46; Sun, 10 May 2020 23:09:12 -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=iC0aMSlU; 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 S1728711AbgEKGD0 (ORCPT + 99 others); Mon, 11 May 2020 02:03:26 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:55471 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725916AbgEKGDX (ORCPT ); Mon, 11 May 2020 02:03:23 -0400 X-UUID: 02d2321070a54bb9b8955c2a0ebb2cbb-20200511 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=U+zyaXCjeWA/QnQwgJfP/AK+Tn0+3JKceonniVGdi+0=; b=iC0aMSlU76sHo/ETSsvyveFdFLPneOespX9BkjcAcPySyPocGUxhZreZQdl0pXFxKCTnv4kUUuqjNCCIaP0gZbhM+sklVHADIgZCkCjDzpYSWFnmN9cQvzwZIgw4dWsanqWiy0CSCtq0QXsVU3CP51ilYnwbCm862izDIPIPDiA=; X-UUID: 02d2321070a54bb9b8955c2a0ebb2cbb-20200511 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1085074419; Mon, 11 May 2020 14:03:10 +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; Mon, 11 May 2020 14:03:09 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 11 May 2020 14:03:09 +0800 Message-ID: <1589176989.21832.10.camel@mtksdaap41> Subject: Re: [PATCH v14 04/11] soc: mediatek: Remove infracfg misc driver support From: Weiyi Lu To: Enric Balletbo i Serra CC: Enric Balletbo Serra , Matthias Brugger , Nicolas Boichat , "Rob Herring" , Sascha Hauer , James Liao , , , Fan Chen , , Date: Mon, 11 May 2020 14:03:09 +0800 In-Reply-To: <321bcdff-06ea-b51d-d287-444bcdb20cba@collabora.com> References: <1588752963-19934-1-git-send-email-weiyi.lu@mediatek.com> <1588752963-19934-5-git-send-email-weiyi.lu@mediatek.com> <321bcdff-06ea-b51d-d287-444bcdb20cba@collabora.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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQpPbiBXZWQsIDIwMjAtMDUtMDYgYXQgMjM6MDAgKzAyMDAsIEVucmljIEJhbGxldGJvIGkgU2Vy cmEgd3JvdGU6DQo+IEhpIFdl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