Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1364441yba; Fri, 26 Apr 2019 20:35:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqzpYwYp4FezfDO8d0S5R0Wm1gm8VkBilPgI/Kxclypyeqf8wdAB0jVzHMmwYiRDWzIAPyrn X-Received: by 2002:a17:902:aa85:: with SMTP id d5mr2871187plr.251.1556336152855; Fri, 26 Apr 2019 20:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556336152; cv=none; d=google.com; s=arc-20160816; b=OiygaW5g+GJ0AwArcMfJqYYeqtsmCRikJe+xX1yIYiBD4hS33TLwtWnuMhWL5FimMr G6uRen+1s+J60Cv2iHgh8fErDnYdxTXoZV97AHCL6y3kfT5CCVmf3lkcZXQtuUsuZLMH hvFHi5NU9IxQmAXclSxGnDgQdaOto0xtE4HolkZs+zGyDmW6Htw59JKjFK4W5wu5ecLk kf4W/R8RcaA19c8oBK4g0EVA6hS0YGZd2amfvx+puWH8KICvbf3r2s59yOfCEdtnaHa1 VzCZlK2V4TJyg0NTsXdjFcN5wU+QagkVkYv0GQyir7AlmqC4Chqe72DrpVWzy2sl2uo7 KCrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=peuEUDy334xbKJ6inCuEX4kMUbZlT8X6mHTrFHvvEpw=; b=VxGsmNqBD8MUdpnBMRAIR4gvqu3kWJTmqGpAHgnid9Bj9VBpW32yxpQGNiYOg7Bgsx BKw0B/aHfIti76lJq8ZvyHMpDHI+Jef+itTVj4Yy/T0u9gUS+XXCewWXZlFUiuRtV+yj Chgxt3FsAPDmqE/LIanoU66zFQ3y+jXZqWwkdyQkthfknANkL8mfwTg1CMfWFFrxK3iE L/z09UvLrWE0y5gtwnVqc1GhuejUFoOWvIKYL11p2S2Jvto9W1FsAblgRzSc5VmKhnUF l73YsNjP6pJvSAst2y8Q/3Jp3nhb8hh/TJ3qk0dlzC9aSHJFvCmurHDTn54CnwdrdyA9 BBGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=mB2sHGEP; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a7si88417pgq.60.2019.04.26.20.35.23; Fri, 26 Apr 2019 20:35:52 -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=@sifive.com header.s=google header.b=mB2sHGEP; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727283AbfD0DcX (ORCPT + 99 others); Fri, 26 Apr 2019 23:32:23 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:36478 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726345AbfD0DcW (ORCPT ); Fri, 26 Apr 2019 23:32:22 -0400 Received: by mail-it1-f196.google.com with SMTP id y10so8826115itc.1 for ; Fri, 26 Apr 2019 20:32:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=peuEUDy334xbKJ6inCuEX4kMUbZlT8X6mHTrFHvvEpw=; b=mB2sHGEPUZXOXgBS3XCnV2O2AknvimY8DOXe8ACDOLXwCKkSQ1CXpRS7w15dwlXhQt WF6GKQVvZCaPXUl412S/0YfpkL+qME2qv7RrjqmcJR2IkdNlEy41GFU3lWx4oeuBaSq0 joNd1fKd09sdwsZUlAyb3foHXYpHds/rXbkgCScLKa0Cxme+qsZLytqeMCn+siMx0zdu zoRcLCHN8qaXqgefi3U3DYkqGRT8LUyaQxyUueOjyPngFT9kuefvUjs8M0qnq9tqQiDj BBsE9HG8pqhSDOFs6q2JB0E75Sujw7i6Go6oP+MEQXgNV2dpWHwMjkFMCosW7+Cdxa+J yNpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=peuEUDy334xbKJ6inCuEX4kMUbZlT8X6mHTrFHvvEpw=; b=Dx5GtDIGKcp/QDMrs/ilWgAnlBgtT67d2tM+HPbbDLrdNOoKd2haRB32mQ+18Rx8OQ HB24oJinS8UUcOWA+EPUGoeNbAoBBGpu9zd6NIocnstov/6qZm+r/1c56l7Bckhd5kUU tTqI8IOQCAOiubFPVkaaVd5JjqIHPBpUShes0WNxME4ZPb3fYRSc4lrOnYCT7LG2PEYf YKYC3608CVeczyZH1GpB4eq/hCzNkKmaz0gxUO+N+hDZbKTLOjN90E3wA5K77D1eGf5P 0BhNLLYhmu7dkAwVeBEGngpToalRqFwPxhlXWMu0FXkdMLgXKIz0ioOoW3/h6IY8pKSA RYWw== X-Gm-Message-State: APjAAAVQUjzWjNxTuZO3o2BTJcT/p4sPFAXaYmvF/bm3p2OGFuFh6lvV E5CXm7GHJ9WiSAxZYUbwKCikoQ== X-Received: by 2002:a02:b819:: with SMTP id o25mr34991411jam.69.1556335942118; Fri, 26 Apr 2019 20:32:22 -0700 (PDT) Received: from localhost (c-73-95-159-87.hsd1.co.comcast.net. [73.95.159.87]) by smtp.gmail.com with ESMTPSA id b15sm9788878ios.25.2019.04.26.20.32.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 26 Apr 2019 20:32:21 -0700 (PDT) Date: Fri, 26 Apr 2019 20:32:20 -0700 (PDT) From: Paul Walmsley X-X-Sender: paulw@viisi.sifive.com To: Stephen Boyd cc: Paul Walmsley , devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Paul Walmsley , Wesley Terpstra , Palmer Dabbelt , Michael Turquette , Megan Wachs Subject: Re: [PATCH v3 1/3] clk: analogbits: add Wide-Range PLL library In-Reply-To: <155632691100.168659.14460051101205812433@swboyd.mtv.corp.google.com> Message-ID: References: <20190411082733.3736-2-paul.walmsley@sifive.com> <155632691100.168659.14460051101205812433@swboyd.mtv.corp.google.com> User-Agent: Alpine 2.21.9999 (DEB 301 2018-08-15) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 26 Apr 2019, Stephen Boyd wrote: > Quoting Paul Walmsley (2019-04-11 01:27:32) > > Add common library code for the Analog Bits Wide-Range PLL (WRPLL) IP > > block, as implemented in TSMC CLN28HPC. > > I haven't deeply reviewed at all, but I already get two problems when > compile testing these patches. I can fix them up if nothing else needs > fixing. > > drivers/clk/analogbits/wrpll-cln28hpc.c:165 __wrpll_calc_divq() warn: should 'target_rate << divq' be a 64 bit type? > drivers/clk/sifive/fu540-prci.c:214:16: error: return expression in void function Hmm, that's odd. I will definitely take a look and repost. - Paul