Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1245147ybk; Thu, 21 May 2020 02:09:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhe4drUlFyNMTK3yxNrxfGbHIkZUNgTY8SK3M6xGGxgm+AxjwA+ZxzFlxuhQXCG1i3K5Xu X-Received: by 2002:a17:906:c112:: with SMTP id do18mr2354359ejc.231.1590052171820; Thu, 21 May 2020 02:09:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590052171; cv=none; d=google.com; s=arc-20160816; b=K2h6nIQVa6KxtkqTyW9k0DEjdImt6O8pdBg2tEuWXRFmk1C2HOox6jPImNR4kNnT1S Jxo99iClw07rxVI/lXXmqvFoc/fX8/iRW5cOYItg8npdQa0W3Bz9KBcPgnX+GFLlS89b dsLzpeJv9MnChBpL6xLuhnCg2QtIsRDiDqUcvrNT1K/znH83cA9Tdmtgp+srZCMF7Z7b SAYAPe5wc0CgY7AsUrBxCtjRklLRTKSVH79fpDL4pBYjek+SUgi7rSzKc2fnchJzGD95 c+MexIWn8mQw2NPdr2jWGjY8u9bSo+jNVG+QlUwh5pLAHdAD9JNqjBAEELnkX1WVcNK0 UfYg== 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=+VyawRv8aQyX9Aas/QtWMpyutNgHAdwgtPsHqvmN3/c=; b=SJQKjHaOWABfxTmBD1n+KNCfQJCK+ZNeqN2ltCjmmJmeOdAQcJZZ7fJQTp+xX+v+s0 Mz8sPnAl9S5bf6VWsH+JCFfT3OI+ZBzKzvI+IoBPHMDJtC5V2z0XJf4zFQtNAQEt1dpH e4N+2otLh5OuJRDJgKZPVukKMcUrQQzB6fwjxNlOchYTt+b+cpljXyFaXwep+3J+Vx1n nm8FOMiq2ghx0SaQGeYjY2DCTgE4neObRhoYtKYLayZnjP35MBWj3XQBilVA77RvpjX2 6zTsym//PIGdJsFWzFQnocBz4ie16UoUVVJXQNY0WUeSu+7d861GHC7PH2OcCUhKd/wP 8kSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=cNLSQgta; 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 a9si2190071edt.564.2020.05.21.02.09.08; Thu, 21 May 2020 02:09:31 -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=cNLSQgta; 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 S1728859AbgEUJHE (ORCPT + 99 others); Thu, 21 May 2020 05:07:04 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:11823 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728776AbgEUJGj (ORCPT ); Thu, 21 May 2020 05:06:39 -0400 X-UUID: ae344b4655454747bb7e65b973c4d19e-20200521 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=+VyawRv8aQyX9Aas/QtWMpyutNgHAdwgtPsHqvmN3/c=; b=cNLSQgtan1CFHG2gWqksJxs3FuQsKr/SKDw1aNOFnQU23vsXqn15Cimlh1EgqeBSnNF7BmYceanlvbmfCc9G3uQPR7sg2mTdwlc5eN4XCuilt14rnJbMLsFsnic7zXBm+OVL+93Cq4sYwVQdnO4ruRhV9tCuFCPKolEerYQ/hOA=; X-UUID: ae344b4655454747bb7e65b973c4d19e-20200521 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 1141577230; Thu, 21 May 2020 17:06:32 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 21 May 2020 17:06:29 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 21 May 2020 17:06:29 +0800 From: Weiyi Lu To: Enric Balletbo Serra , Matthias Brugger , Nicolas Boichat , Rob Herring , Sascha Hauer CC: James Liao , Fan Chen , , , , , , Weiyi Lu Subject: [PATCH v15 04/11] soc: mediatek: Remove infracfg misc driver support Date: Thu, 21 May 2020 17:06:17 +0800 Message-ID: <1590051985-29149-5-git-send-email-weiyi.lu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1590051985-29149-1-git-send-email-weiyi.lu@mediatek.com> References: <1590051985-29149-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 aGVyIHVzZXIgZXhjZXB0DQp0aGUgc2Nwc3lzIGRyaXZlciBzbyBtb3ZlIHRob3NlIGludG8gc2Nw c3lz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