Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2898595pxb; Sun, 8 Nov 2020 18:14:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKDlUp9lz6P+qJfHM9qkWNYMkXlXkjMiI+FN+V9ETFZXTDmjT7Cz8BhPWOzFP7KhFsbfmI X-Received: by 2002:a17:906:c0c9:: with SMTP id bn9mr12717358ejb.289.1604888083732; Sun, 08 Nov 2020 18:14:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604888083; cv=none; d=google.com; s=arc-20160816; b=BXWlNdfpZ4+D6JgejAr6h+S+igvR2fvnQP8JecIiVLvxLEnT1kswtEnFxJ5npcWyp+ DtrhmJadv2/n/rsXM2usbUxLkOcWW5ewQby95my7d4DrQgM3hOKejb6dnIMnQ5NdeE0W IDrQeguJ91uQPgBiye1G8ewwDGeo2aAIrJFOZkcTkl30FTkFF8eaodRaGiVSOIZJdAxI ToEnBdueg6YqMv2g1jB3OFgbT9/IO0eMEPID0YykdOT/+KbJhjNFUdVQW1LtcOEKFn7Q h3PWodcPfuo9xwW6XeNAo71ulG+3ahN2EIzsV1GOQvIByeYpSgjDOT0QH403NlEu+9Cn Va4Q== 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=/VG/R55jbk5NViG8x3pD6qv4f1prIELEzpN61JMk3aE=; b=tmsv5zgOuaMIZ01GbEKliWdWVQil8ciei4iZqhYrqaJSM3ggtQ8kWsq6v7kQYkWcpl La7aqKrkiurDeUU7KzkiyUgxmU7aq+2HMS1JBs2HKGOMShepQaiWrkSZD+oO/m9kNe4m AlLDatzVomUTEwWxflBDFbhxWSNdQ48x4uXos8z7VXzJSpll1lzSnql98Vaw84zQEUbb BmKRGW7R1nIBWg8ACLYQCmR39618gQ3lXlBD3qtHx1R0Y0oGnN0EDXVbZePbDSveH2qG OcbzMAICWQtEeu+LyxeycMOPikTuBVALMzQ8T4twdkVv5BPmI54j05LX+h09vpWDHx0t gZfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=db3yJkfn; 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 c7si6103048ejp.437.2020.11.08.18.14.21; Sun, 08 Nov 2020 18:14:43 -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=db3yJkfn; 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 S1729189AbgKICKE (ORCPT + 99 others); Sun, 8 Nov 2020 21:10:04 -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 S1728006AbgKICJO (ORCPT ); Sun, 8 Nov 2020 21:09:14 -0500 X-UUID: d43a04b304b24b8789901b41d8e1da0f-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=/VG/R55jbk5NViG8x3pD6qv4f1prIELEzpN61JMk3aE=; b=db3yJkfn6Og8wv3bFZXT56vOaIwuufLktUhok2tvhTMjjZc8DXTtoEtvmf+YaTZZNjepGpXXfWukKXjzZtWDpf/A1N35GMsRwnCCdIWI0iDqCTrmUIlaxaL8M2rqacN2MEW5GOpGqdKVJ4zT097e9rWY8UVuankzYr5Y2iaKp3I=; X-UUID: d43a04b304b24b8789901b41d8e1da0f-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 172767300; 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:54 +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:53 +0800 From: Weiyi Lu To: Matthias Brugger , Rob Herring , Stephen Boyd , Nicolas Boichat CC: , , , , , Weiyi Lu , Yingjoe Chen Subject: [PATCH v5 15/24] clk: mediatek: Add MT8192 ipesys clock support Date: Mon, 9 Nov 2020 10:03:40 +0800 Message-ID: <1604887429-29445-16-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 QWRkIE1UODE5MiBpcGVzeXMgY2xvY2sgcHJvdmlkZXINCg0KU2lnbmVkLW9mZi1ieTogV2VpeWkg THUgPHdlaXlpLmx1QG1lZGlhdGVrLmNvbT4NCi0tLQ0KIGRyaXZlcnMvY2xrL21lZGlhdGVrL0tj b25maWcgICAgICAgIC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