Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp508634imu; Thu, 22 Nov 2018 00:48:15 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vl16cjbEMacRLwx0YHIcJprWtHFlMVwFmL0NqN5DuawnW6MOSwBabBN/rn9wf1AAQS77hX X-Received: by 2002:a63:4246:: with SMTP id p67mr9153709pga.335.1542876495592; Thu, 22 Nov 2018 00:48:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542876495; cv=none; d=google.com; s=arc-20160816; b=NhEP/0jXAUtHVw022+DNENILSk6QhEv4lze4c5lJswYwGS/CHLFFjFfFHVPZzjz7EI vuMzDZDcjsKu/1cdfhlCGZd33xZfwEQ5cS7WvsW8u+MerHA3vK11UGKyw99H7T9Ir8ID 0KpROfbQ3Q+842JQr0eTAX1llqdNZrSGjYj1bwhBtMlvQF2OyxSYa7HVwLXzUZJGsCQm fzIKTpKrxbV7RatSQupRX7P+OblWif83Mh2V26MQVvToUmn062Y0145JqYo373ZQt8j1 4o4/n2W/vnqeviSmXQqVvAv6sCAXosMTfrXuFxwsDzHcO1DSuMN4NV2/SZdOIAdVPC1d 9wfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=1eeKDWvqEXgxNxauuoVjDt70U4UcxevhZeNHNGyqj/E=; b=HQoiKDNWJ4VT7uduEszkACIoDOJvXp0tpM9Yb0o9KBJ7ZfNF0RIabVSeVq7eVFcD02 iv0mUv21914Ah7K9rFoR3nEeuYjoBacz2Nwx/LdylhP4IhFPbJDF04S+oWS1WotNLia9 hWeak9LNcjk5dAdDrpNqPq/h1K3iIJbe5ZgtCKYkjfD+JXcpSKcSItWs9+kaMFyPeTei Gn1jutX68TpJ/ILSDnUK2oTdaXHWd6PN7/7Rx+VczNURR0D7598karlYFKcObGaXirwM 715BS2QsfSF7WusZEffZ2Dx5hU3OhjkoePeNhkXt72/VqOrmAhEWb6rxFp2Qmj+DGu4l 1TWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=YvwW0EAz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si10529408pfb.191.2018.11.22.00.48.01; Thu, 22 Nov 2018 00:48:15 -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=@googlemail.com header.s=20161025 header.b=YvwW0EAz; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389927AbeKVIaT (ORCPT + 99 others); Thu, 22 Nov 2018 03:30:19 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:34943 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389918AbeKVIaS (ORCPT ); Thu, 22 Nov 2018 03:30:18 -0500 Received: by mail-ot1-f68.google.com with SMTP id 81so6355281otj.2; Wed, 21 Nov 2018 13:54:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1eeKDWvqEXgxNxauuoVjDt70U4UcxevhZeNHNGyqj/E=; b=YvwW0EAzXa/Bqab2rnUPt7AQ8ny8Bznz/dN1ljz3+fBD4SYIehZjL1f5lIDPcEu9V2 llNeQOFpl1t8v9oj8ELyWjoI35dgKoahRmedB7XUbpH5DJXY/rXGbkcsKvEfDqPW+E6k BEaumCHFUgDY05SihQh8J1Ve4F8JbZi8mwJz9GTeJ1e53H6G/Yz1vGJYi8A01wGL1QIT U/A8l6o4uq4KAcNUXiuMY7Mvw6/+9FJvY66WfCvSoRYap27Rojr6bex0s5aXGa4xILSG +fq9ERncQJ4uD+d3fbFr8JlsoYm/qkznrNlgcIC0OA+rDCOuhPXFfKXn53iFWwIiwNNK I/PA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1eeKDWvqEXgxNxauuoVjDt70U4UcxevhZeNHNGyqj/E=; b=CVIrromvaHpn3XouBmtVWp5EOy1HjF042s3EqnpNHwbUdBbxSU4vZj0SjESf0CfaYP xIqlayB3Vc7fdU15D2jSEzLHA953oguR+srVN6b1RjIB02sb6yRTlO9ROZBHqyM8d6Eo SiQ7Z8NdjbsJAlLwnjWRQhSGW+oJpyZ5X7Hfp6JFkO0jEAxYzkR2wyHLSTbIv85umbnq 01uQdHx+bhr36RvDpV/ODeKdn+1cE81jF37Se5atOeyajywnRLN5UV9wB9ur3mrO+jkf yIxst2N6Nfg2gU+JuhAX26f+2+P8N0hPbSelD+P9dndQ75YGy3SU3AtjvD3WIS3NG6oB sUTw== X-Gm-Message-State: AA+aEWZl4FPjPx17LttJvZvpwdHhKdj/hLiWwjNfCJPlYtwAA0C2uekY O3+JccYLC4RdqfgpKcxPKgaat+AMkB499RhU/Dg= X-Received: by 2002:a9d:3408:: with SMTP id v8mr5116851otb.237.1542837248414; Wed, 21 Nov 2018 13:54:08 -0800 (PST) MIME-Version: 1.0 References: <20181121111922.1277-1-narmstrong@baylibre.com> In-Reply-To: <20181121111922.1277-1-narmstrong@baylibre.com> From: Martin Blumenstingl Date: Wed, 21 Nov 2018 22:53:57 +0100 Message-ID: Subject: Re: [PATCH] clk: meson: Fix GXL HDMI PLL fractional bits width To: Neil Armstrong Cc: jbrunet@baylibre.com, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Neil, On Wed, Nov 21, 2018 at 12:19 PM Neil Armstrong wrote: > > The GXL Documentation specifies 12 bits for the Fractional bit field, > bit the last bits have a different purpose that we cannot handle right > now, so update the bitwidth to have correct fractional calculations. I assume you have more accurate documentation than what's available publicly: - the S805 datasheet doesn't have any documentation for this register at all - the S905 datasheet states that HHI_HDMI_PLL_CNTL2[11:0] are DIV_FRAC - the S905X and S912 datasheets state that SDMNC_POWER is at HHI_HDMI_PLL_CNTL2[6:0], SDMNC_ULMS is at HHI_HDMI_PLL_CNTL2[9:7] and SSC_DEP_SEL is at HHI_HDMI_PLL_CNTL2[13:10] - the S905X and S912 datasheets state that HHI_HDMI_PLL_CNTL1[11:0] are DIV_FRAC can you confirm that the public S905X and S912 documentation is wrong and that the .frac field is really part of HHI_HDMI_PLL_CNTL2 instead of HHI_HDMI_PLL_CNTL1? Regards Martin