Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4821115ybx; Sun, 10 Nov 2019 01:30:57 -0800 (PST) X-Google-Smtp-Source: APXvYqx+5thsi/xLQg6R+YV7jbbeOeCd18dOf5w/hHQtXc3hwTEb6F+sjMBn9D3//3+LMV0zxN+D X-Received: by 2002:a05:6402:205c:: with SMTP id bc28mr19699591edb.124.1573378257825; Sun, 10 Nov 2019 01:30:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573378257; cv=pass; d=google.com; s=arc-20160816; b=A8J4Tf/hMjqjCFFQj64uDEQt7QXAgd680M6YFQy21e/ZI4zYSFj5Ay4tMdHdXwAEh9 Jkf/RxKHq8SW06xVkprTGG9mTAC3ZpqDioG/fPg67QXg0QWZ89DIkdj7l0dvoeBjT/GF PpdeYdPUg+3M79goaeIt8QHqgBU+8736DtTgL35HYhOe10zU8wKUDsVxvUNpGti67DbH vSWTuz7YutDP5tM0fM0aOONemDV1FLo1KnDkUX+DP+hZi//E3V8jEySI/NInSRpPReaq f6OsfdCM7QFCgqVRvY6Lg/NfhEPffUIcrg+kx6Lno6fJ7YKypAZql0c7na6UFQxQs4+C oHJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:domainkey-signature; bh=RwiJDZMBHlfZojS1baXbRX4kFLS7JIIBhzbGeIpNw3o=; b=HfP4Lk7+ufaSFCXsAXXnWLIwVQG8YAjc/A9UYWN5bKmm4frNFlgfkqpFEisCSV8YVO xa+v44ITQ0cXI4B63sUj5HhwgFzFXu0vCsFedg/tGLV0NWsdYOUNMAI/Y+Xut1PLE935 yaQnUjOxNEGLTZYMgjUrIUw1cG/kIycUM3PboY6j+FqXSP7mxdxo2XCYcIi4GpxnD0WQ WOcWKChvqCDRgjTZNALDvqT/BivfTdVSc5lJ9k7bCrE0UyUhxcH1de+zBw5vD7LMDugZ QTE4d6lDttCVUSmrQJu9APpp+6pQcayXguzwsAjddKLQcZUd+tArzWSBZgvvSpTbu8Ji fdzQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@zoho.com header.s=zm2019 header.b=Z1oJxFTx; arc=pass (i=1 spf=pass spfdomain=zoho.com dkim=pass dkdomain=zoho.com dmarc=pass fromdomain=zoho.com>); 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=REJECT sp=REJECT dis=NONE) header.from=zoho.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h6si8498699eda.258.2019.11.10.01.30.34; Sun, 10 Nov 2019 01:30:57 -0800 (PST) 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=@zoho.com header.s=zm2019 header.b=Z1oJxFTx; arc=pass (i=1 spf=pass spfdomain=zoho.com dkim=pass dkdomain=zoho.com dmarc=pass fromdomain=zoho.com>); 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=REJECT sp=REJECT dis=NONE) header.from=zoho.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726718AbfKJJ3y (ORCPT + 99 others); Sun, 10 Nov 2019 04:29:54 -0500 Received: from sender4-pp-o98.zoho.com ([136.143.188.98]:25851 "EHLO sender4-pp-o98.zoho.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbfKJJ3y (ORCPT ); Sun, 10 Nov 2019 04:29:54 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1573378178; cv=none; d=zohomail.com; s=zohoarc; b=gHV3k9hZcXvSfznkfz/qV1dyxDoQqfCXleCenSeNucbDY4rBWrb0R54D+3+a4PVSsMUKsGC3TFZ3efccYB4ao8LYwIKdVi2Ipik9R38Ivs+7T2WBBu3/886iyZDqtITuqnxvNVXj9Li9hhCHqXvfxA2v3BBoB63UKFmq9G9lSwg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1573378178; h=Cc:Date:From:In-Reply-To:Message-ID:References:Subject:To; bh=RwiJDZMBHlfZojS1baXbRX4kFLS7JIIBhzbGeIpNw3o=; b=FBfDDAQwV14qZARH1+kXZ46SBJpWKvRJpplrpAixanW9adggOpoNcxBywA3oCbjpDn1g1/FVLYTHREraAxZF/bBNeWR94PuvLf6faBdaIgrknnj763DTqSe5wm9MPNrO1bPeYwl53Q+xzhQvjqKD4JHT8SkRCJ6reEzbMpbHa78= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=zhouyanjie@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:subject:date:message-id:in-reply-to:references; b=FA0Fso/iUEpmhuQqzFFQGcgPrEGA8RZq4BBdlAnK/+gF/1kIdcn+xO3kEVgd8pXV2RrzcgboOUeC gzMyveoIY0IwkBEFZWOA1LxxVgV2jPEAFlSSF+iAAmJ6XUg+yAWR DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1573378178; s=zm2019; d=zoho.com; i=zhouyanjie@zoho.com; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; l=383; bh=RwiJDZMBHlfZojS1baXbRX4kFLS7JIIBhzbGeIpNw3o=; b=Z1oJxFTx4puNX/mBC1fKo55Lzk5vMhjTnb42XqsM4+UivXFIkK1J8NyyqTz7fBO4 dWN407e5bGzFcACI6YkMNoc3giCiiD08zXZHBIBeFPpRNmWpd+Tp6QKiZSKn2v93ITY hDXuED1cSPyYytDKX7eJLnAKsJ0HWjNvIe5rMYVE= Received: from localhost.localdomain (171.221.113.200 [171.221.113.200]) by mx.zohomail.com with SMTPS id 157337817689296.20366141280374; Sun, 10 Nov 2019 01:29:36 -0800 (PST) From: Zhou Yanjie To: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, mturquette@baylibre.com, paul.burton@mips.com, sboyd@kernel.org, robh+dt@kernel.org, syq@debian.org, mark.rutland@arm.com, paul@crapouillou.net Subject: clk: X1000: Add support for the X1000 v3 Date: Sun, 10 Nov 2019 17:28:20 +0800 Message-Id: <1573378102-72380-1-git-send-email-zhouyanjie@zoho.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1571421006-12771-1-git-send-email-zhouyanjie@zoho.com> References: <1571421006-12771-1-git-send-email-zhouyanjie@zoho.com> X-ZohoMailClient: External Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v1: 1.Add the clock bindings for X1000 from Ingenic. 2.Add support for the clocks provided by the CGU in the Ingenic X1000 SoC. v1->v2: use BIT() macro instead left shift, add a call of "ingenic_cgu_register_syscore_ops()", replace "CLK_OF_DECLARE" with a "CLK_OF_DECLARE_DRIVER". v2->v3: 1.Modify the wrong register in "X1000_CLK_MAC". 2.Add the clock of I2C0~I2C2.