Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp384725ybb; Fri, 20 Mar 2020 00:33:25 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuL7ab/1dDLyQ3jzneJq01SyRUGFm8aED+LU/eb5+Z7EG6q3pHKiTgBhKT0t8FuGci70ykp X-Received: by 2002:a05:6808:16:: with SMTP id u22mr5433529oic.127.1584689604913; Fri, 20 Mar 2020 00:33:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584689604; cv=none; d=google.com; s=arc-20160816; b=O4jKoSKarh3YlzIYHzpqbxV7w+yZUnPR+ZFlADtkLZYqlbhyaLXoIOgGwPwc9rvAj7 VRGP/rza6XiNll/pDuTWoBupHjB19Jx03A64Pat2LAY17oawjdERt08hv/Ugw23dQpdQ lZ8m7MuZqTB+UgdtyjuxDtFZLtZNTmKxDvCESJ0seOXw4UsNKtYgPvKBqhFfPamdg2W0 GG2oLE3Yn8h1xWZXo4gxhI0brEJ2nhSe0LcpYrH3D+6ji+dI6n3dkvlxEiYdMQF2rUVg 8fEy06LXsrby+ASh7jR3c1SttbERkhlXlMhHXGu6SzgyeMoYzrTyy7hbhqgcUsNHS6Ri 0R2g== 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=u/0ucpe9F4F7lBMNcJwT4KyuPE6DEhiPk8RVqo8kvmI=; b=zIdUADXG+4JA1gHmZazlQQRO4N/iwQCrS9GWmdexwQOO2LIkAQAvhSZ0bC9R0TIHeB 4n4vxjRmCIKWG0I6qvrsroC6e+jZwwv5klco8r3doEeC35oD2nFIpI+R447eM+p+m9ss rIgATFbnd/adcs7VCa1Nc+vRg5FJJh2ZVzAABKEaXwHD+MkOjMEQAgz0ssecwZsqtCRz n49KoZBjc4oN2snSxrouzzqu2Qlj6TSY3r+QfrOtEmj1QhrqlPBKVP+6NkumiebRmb0g Z1xgO0rI0z82gqYCzLtA9s43Fb6ixqYpeWfUaxrwMzH7UpZqZ91h9rlGYYa0pwES7Fbm ohag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=n2SikpfZ; 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 l65si2413306oig.156.2020.03.20.00.33.12; Fri, 20 Mar 2020 00:33:24 -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=n2SikpfZ; 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 S1727101AbgCTHcq (ORCPT + 99 others); Fri, 20 Mar 2020 03:32:46 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:23390 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726907AbgCTHcp (ORCPT ); Fri, 20 Mar 2020 03:32:45 -0400 X-UUID: 5361ffbeadcc42beb518535682695cfe-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=u/0ucpe9F4F7lBMNcJwT4KyuPE6DEhiPk8RVqo8kvmI=; b=n2SikpfZIAd8as71CpBazqjE6C8jxpE+bKa+XRm6UZNoFeDPqJZlp8ELs1jETYWcc/Q8tJsvBdgUyw+ij75ZIL1RrzhcZuYXTSYimiQREGzAVi1h98ENo0ES7Wbsd6PUm1VxTydoHBToDzlgfsX/V6JMZ+p0Ase5ySvay0qtpfA=; X-UUID: 5361ffbeadcc42beb518535682695cfe-20200320 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1734305002; Fri, 20 Mar 2020 15:32:26 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n2.mediatek.inc (172.21.101.141) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 20 Mar 2020 15:31:26 +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 04/11] soc: mediatek: Remove infracfg misc driver support Date: Fri, 20 Mar 2020 15:32:13 +0800 Message-ID: <1584689540-5227-5-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-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 VGhlIGZ1bmN0aW9ucyBwcm92aWRlZCBieSBpbmZyYWNmZyBtaXNjIGRyaXZlciBoYXZlIG5vIG90 aGVyIHVzZXIgZXhjZXB0DQp0aGUgc2Nwc3lzIGRyaXZlciBzbyBtb3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