Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8994059ybi; Tue, 23 Jul 2019 19:39:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxyTrkhzxmcbe9qAFzAlkLxUyZf3NyVPfRvPhoVFMDjwz+tRaaP0YIltPb1DiP0Au7ONZNq X-Received: by 2002:a17:902:324:: with SMTP id 33mr81370090pld.340.1563935969327; Tue, 23 Jul 2019 19:39:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563935969; cv=none; d=google.com; s=arc-20160816; b=PnvnUQN0ItbOsjgPHd0Cj70r/EKXwkcLUKDJM6/Sba+h9EkgecLjZjNsBf6QVv2Xek ZDKiAB2pVf0TP7X2jHIWUD8XhbGKI3hoIHDS3SXD+2rioJEOegHZJLQFEFqbva7sXqwD 7GkDi5t9vK3OG0gqOhSWjSc2mMbCy46Gk4+xumgtOU1Kq+xfyk9dME5fzPU2fY8iXO4L e4QWvhI73XwWhkm8hqVVvCIszVP4dzG2vJt0lqyBADDQkLGbWj8jUZRc0LdJWod/s9ty wCZzOaD9cdl3VeExLEtAVXjqez0r+Z6H0NuUWSLRvO3Qg3Io5SVJlEND+i7hhopizva8 N/jg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=0WMoTaUEzf2i0/9+THzPuZXCIUe+ekMzc88lMAn0PGM=; b=OPY68MdiaW6vxZLletxYkzyi2omygOQBCLPAhCQy6fyyLKe2KMMEjWr7zpPxzxhDCH KQvm5bTmfaOcLGRW6iyKfeslc6dyq15PZpyhj4ri5PHGnmIcLKorEZmkE291tgOeb7qL R/6j9gtmZcAxkkDRHQqJbM0PyUDVQCsMfT9xy/8uvGLFjjNOIHo1gjNpE7OurDTjOIfu qlxg0MuhqjOaFYX5RKtRmaQifgDRIFEcN+4Eli0OrE7DldGLzYfa3lkhVeI9L/i4XdE1 OHOvebNg+sBJzcFbW00WBQDOLEgS1Pa6ggIDhW1tCGGGhJ1cYgeQA7MpMH1WgyX9nv5c kJow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Htgu23gv; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 4si12605460pfg.55.2019.07.23.19.39.15; Tue, 23 Jul 2019 19:39:29 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=Htgu23gv; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728318AbfGXCYM (ORCPT + 99 others); Tue, 23 Jul 2019 22:24:12 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:40415 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726108AbfGXCYM (ORCPT ); Tue, 23 Jul 2019 22:24:12 -0400 Received: by mail-pg1-f193.google.com with SMTP id w10so20369653pgj.7; Tue, 23 Jul 2019 19:24:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0WMoTaUEzf2i0/9+THzPuZXCIUe+ekMzc88lMAn0PGM=; b=Htgu23gviBJDprRFajzRkyIgxs8zf4w1ZNqqoXGAaftgFuT1oDR17PvgSnH87ucKoO ZtQ2blOutSQbiWoH5NT7N6vyt5MIBdRQGQE2j3VTEUp2fofLXasXEBoXiYWVNZ8TqL1t 52OAJj6DHABQZMDHlTEBkeEOuqZKI/lN2zdg+snMOFPKYnPcdM/CL7Kw0vfXSzor9fsI PDZ6MPqWdzagqKxEXec3Wp6AGA4cgH2XPnFAEHLCsC0E9ZTcRdQt9nR8kNkYAhfK1QHd q3SRpbYkxep6kggIlNOdTbPiXR2Gace1SIOOhcn7wWCrv7zSVHwu8flsN+cwPnh1+YMB zegw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0WMoTaUEzf2i0/9+THzPuZXCIUe+ekMzc88lMAn0PGM=; b=DAe3DATrUNgEochJZmugbo0yBWVH5jFM9FMC/mOZBEWBFa8ar5T9OKI7cboE14/Zka Zc+cVyuaKyDyGnGQkzvZBcIvaf/q4zJxoDApr98kz0bx5WoJXDoTo7dLLk71zQOpV1Nr BqVkSPHfwBiWz5/Wt4A/U/h4PHU4gohEM7gjOHEWn1MVHy67VV6kPzKWgVf53jRQb5Mt Mp7oKQM47XPofT55KP+qw5BVhWhJ1UL+yD8HAWj4z9boDzuqa68UANHrw/SRH4kOedW4 wkBsI3bZBuSiFJkVRpTbatxllc967qW5HyCeJczxxryRB5x3Urz7he8CkA5oDE7upCl1 IUuw== X-Gm-Message-State: APjAAAWBN2Czs33jQiMpf0JAaASwU6lMiWHn0VPSIwAprBkSD3XJyzGj BOaiKsnn2lW5dIXnLXQXQA+T57nui/Y= X-Received: by 2002:a65:6495:: with SMTP id e21mr80068044pgv.359.1563935051079; Tue, 23 Jul 2019 19:24:11 -0700 (PDT) Received: from guoguo-omen-lan.lan ([107.151.139.128]) by smtp.gmail.com with ESMTPSA id s185sm63468029pgs.67.2019.07.23.19.24.06 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 23 Jul 2019 19:24:10 -0700 (PDT) From: Chuanhong Guo To: linux-clk@vger.kernel.org (open list:COMMON CLK FRAMEWORK), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list), linux-mips@vger.kernel.org (open list:MIPS), devel@driverdev.osuosl.org (open list:STAGING SUBSYSTEM) Cc: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland , Ralf Baechle , Paul Burton , James Hogan , John Crispin , Greg Kroah-Hartman , Weijie Gao , NeilBrown , Chuanhong Guo Subject: [PATCH v2 0/6] MIPS: ralink: add CPU clock detection for MT7621 Date: Wed, 24 Jul 2019 10:23:04 +0800 Message-Id: <20190724022310.28010-1-gch981213@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset ports CPU clock detection for MT7621 from OpenWrt. Last time I sent this, I forgot to add an binding include which caused a compile error and the patch doesn't stay in linux-next. This patchset resent the first two commits and also added binding documentation for mt7621-pll and used it in mt7621-dts at drivers/staging. Changes since v1: 1. changed commit title prefix for dt include 2. split the patch adding clock node (details in that patch body) 3. drop useless syscon in dt documentation 4. drop cpuclock node for gbpc1 Chuanhong Guo (6): dt-bindings: clock: add dt binding header for mt7621-pll MIPS: ralink: drop ralink_clk_init for mt7621 MIPS: ralink: add clock device providing cpu/bus clock for mt7621 dt: bindings: add mt7621-pll dt binding documentation staging: mt7621-dts: fix register range of memc node in mt7621.dtsi staging: mt7621-dts: add dt nodes for mt7621-pll .../bindings/clock/mediatek,mt7621-pll.txt | 18 ++++ arch/mips/include/asm/mach-ralink/mt7621.h | 20 ++++ arch/mips/ralink/mt7621.c | 98 +++++++++++++------ drivers/staging/mt7621-dts/gbpc1.dts | 5 - drivers/staging/mt7621-dts/mt7621.dtsi | 17 ++-- include/dt-bindings/clock/mt7621-clk.h | 14 +++ 6 files changed, 126 insertions(+), 46 deletions(-) create mode 100644 Documentation/devicetree/bindings/clock/mediatek,mt7621-pll.txt create mode 100644 include/dt-bindings/clock/mt7621-clk.h -- 2.21.0