Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2897600pxb; Sun, 8 Nov 2020 18:12:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxioP2txc4di1dpulDyph4BQhJroSksmD0V35g26YB9hyGcNjO9f1oWXslkeZOTzVbYtN5D X-Received: by 2002:a17:906:860b:: with SMTP id o11mr997947ejx.252.1604887948275; Sun, 08 Nov 2020 18:12:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604887948; cv=none; d=google.com; s=arc-20160816; b=EmbsgDdFkQ8NapNV23nwxTpSh8JUMu12AHHGrYNjE4kGC6nf/lmy8ZHRJkySHm5IGW poHQvPe3z8PwzAz1JHJ6xRljSgnVufiqyU/LfpFI+SM+nb1E9c871s9pezCj9KJx29L1 /mvJ1aErDtJZaMPigAL7F6oNI0mmQzN6mQoDbP+x1P5v8+Jx8C1HztReEI0HpV6MTtkD HDnYhBDOUSy2T72uTPgA7zlV4ORGfy8OkouJzEE1SdBgBIsVDdJwnNrQ5r9NmemKqZ9Z KyXwinAFi9HtzaHR1UwKKKK8/pYm3p/5EiFvhtksXtDy4Pcs/c5Ryp2AAjjjM9DCx/tk 6BJA== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=nS/h4lF326IF6RH+M2AO8aWjCmA16t/yU1NORMtVHXw=; b=Mwu+dvm4krtFviaNe+4eLMv6UmgDiTLpWEkjy+UUe0PMuHCwb6BoxUdHT2VEBjBbck vdQqnoUb6kNFrMUDwKK7Dt1L2Zx8xcg+LSldiPIqXfOMeIuz80kQjtRXvj6bHLBPl4P0 1msESc9cWW5AtVj68oj9RJo9H7fydMxC6ueImTo1TEi35pR6QgCmfdKiGR08swqL5h85 b95tiNOgLG0Q8wUA7a5wnFi2+otQLKVwu0HmKmSwQma8zSKv/M7JZORhTu6tHyEB36/v W9s7gqfLSzosZQQKIBf8nNHRdHPOwO3pzXuYow5j4afVOL9BQSHzouc+iuR4jJd5yvC+ RwCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b="dGaKUw/f"; 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 c4si6182868edd.464.2020.11.08.18.12.05; Sun, 08 Nov 2020 18:12:28 -0800 (PST) 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="dGaKUw/f"; 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 S1729120AbgKICJT (ORCPT + 99 others); Sun, 8 Nov 2020 21:09:19 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:58255 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729090AbgKICJR (ORCPT ); Sun, 8 Nov 2020 21:09:17 -0500 X-UUID: b1d26e9810354a8fab01d2f67df3c461-20201109 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=nS/h4lF326IF6RH+M2AO8aWjCmA16t/yU1NORMtVHXw=; b=dGaKUw/fVCEjADr/js0dhbMAMHb7L9tY/4ounfJWXvWjRGQcXeM+/3Kq+Ih7AiAES2M6hwRGc1g86l5njZ+5sQvnwe7Xtvp9di8tPmtvOBcbq5Mj+oOsKu7igola+aMnPqcYDB1Qo1+7AzpnoPFObRrBgmw5Qhm7DWICFoyH6mk=; X-UUID: b1d26e9810354a8fab01d2f67df3c461-20201109 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.14 Build 0819 with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1976040483; Mon, 09 Nov 2020 10:03:55 +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.1497.2; Mon, 9 Nov 2020 10:03:55 +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.1497.2 via Frontend Transport; Mon, 9 Nov 2020 10:03:54 +0800 From: Weiyi Lu To: Matthias Brugger , Rob Herring , Stephen Boyd , Nicolas Boichat CC: , , , , , Weiyi Lu , Yingjoe Chen Subject: [PATCH v5 20/24] clk: mediatek: Add MT8192 scp adsp clock support Date: Mon, 9 Nov 2020 10:03:45 +0800 Message-ID: <1604887429-29445-21-git-send-email-weiyi.lu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty In-Reply-To: <1604887429-29445-1-git-send-email-weiyi.lu@mediatek.com> References: <1604887429-29445-1-git-send-email-weiyi.lu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWRkIE1UODE5MiBzY3AgYWRzcCBjbG9jayBwcm92aWRlcg0KDQpTaWduZWQtb2ZmLWJ5OiBXZWl5 aSBMdSA8d2VpeWkubHVAbWVkaWF0ZWsuY29tPg0KLS0tDQogZHJpdmVycy9jbGsvbWVkaWF0ZWsv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