Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1221296pxa; Thu, 6 Aug 2020 02:36:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxe9LBHkRkXEf8TwxVliamF1kSsZnS9Ugj4F+gxCAdAB7P92gy24ijB/9eJB3l39NOaLiOh X-Received: by 2002:a05:6402:b26:: with SMTP id bo6mr3274736edb.104.1596706576603; Thu, 06 Aug 2020 02:36:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596706576; cv=none; d=google.com; s=arc-20160816; b=iw5JZnihgf3THKluBCS8lsqh4r6UWjnIGxnnXT5h9dwJdMZcScvV1k9UNOFX1XtmCc M/S5qyeHUYkJSOl+eM6X2RaptOQ7SE+vAy83X4U76T54K1xbpPyMF45N5jSBp03tpdl4 yrC1jne+OI5tM5vSBTEjdCi2Qb9f3LBXfr0PB4gwHP4Lg+8DNvEIErb5802VBMwHCM5Z 7Kuxe/KAI+vVUKYWtlJxI2ixhuoR9FBjeWh8rCcc5oG3RMO2/FztCaQFFuV5A3VtwqfL DtcVWUcsPCaTc6eCLaFgwxCgu3GyzNmaeASdFk8ImaqlBi92GMIiAzX+3kGimenbH+1R 0O/w== 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=N9zW6nHMcVwWczAyCUbbBCog+k835P3aP5/dg5DKEwM=; b=fUcTvT8ajNJTI0CLJVMkUIoL6Ly322fGLBB0xHPLMf8l99EFq2a9G5DuL8FIfZT0XI Hc1Fty6lsJQETNJFRnMzMWWfKcobgURKHs3f2DxVlzr4jEBZYipB6RTl928SB79iV8Fb OXh5mUMMO38piDR4a/+gjOSsejxuqKxG9AQ7mgNaQgh0Kc2EZYkb9J0eVtkE+zdn8Cdk SiI874z3to13n7iFogfwmDYidOSq8z+E8zlE9EvS9OP4HyXO7okEfRB9MPKglZ7ZpFwm +9cgyCV+mQlYlhetjJ1+TsFIqCErq2c5iRYvQpgdUJeuGeC52vY5ycibGwgazaYaDVQl 5Hrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=kK9tYCfM; 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 l17si2707415eja.654.2020.08.06.02.35.52; Thu, 06 Aug 2020 02:36:16 -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=kK9tYCfM; 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 S1729248AbgHFJb0 (ORCPT + 99 others); Thu, 6 Aug 2020 05:31:26 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:47550 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729068AbgHFJXf (ORCPT ); Thu, 6 Aug 2020 05:23:35 -0400 X-UUID: dde793907c1f41f2a025adedd73d6d89-20200806 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=N9zW6nHMcVwWczAyCUbbBCog+k835P3aP5/dg5DKEwM=; b=kK9tYCfMVpr1WR/f/6/rXFwCdPdRIGypkT8soLpAnVN2n6IWmK/JuF44kgnZQplc+/cPHPvQOP3GYzxqFD6yAjpotBDvsJSfSusnTT/Xec6kYTzkE8TMY5jHDOuhRXSTa/aIm2FiwDd1guATPi/KBkbcZBdwTDu6ym5cQ0szwkk=; X-UUID: dde793907c1f41f2a025adedd73d6d89-20200806 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 425271969; Thu, 06 Aug 2020 17:22:01 +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; Thu, 6 Aug 2020 17:21:59 +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, 6 Aug 2020 17:21:59 +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 v17 03/12] soc: mediatek: Remove infracfg misc driver support Date: Thu, 6 Aug 2020 17:21:46 +0800 Message-ID: <1596705715-15320-4-git-send-email-weiyi.lu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1596705715-15320-1-git-send-email-weiyi.lu@mediatek.com> References: <1596705715-15320-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 aGVyIHVzZXIgZXhjZXB0DQp0aGUgc2Nwc3lzIGRyaXZlciBzbyBtb3ZlIHRob3Nl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