Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp718497imm; Wed, 18 Jul 2018 09:27:56 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcIPoYNp5/toI8GfrRnZ1PO+Afqr314jBaF3UxaeFjtnPnfFuvMUtU9Cr0vHJIFNUqxOWwk X-Received: by 2002:a63:5922:: with SMTP id n34-v6mr6473452pgb.113.1531931276608; Wed, 18 Jul 2018 09:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531931276; cv=none; d=google.com; s=arc-20160816; b=I34Xkd8pjkGfDHW1a2hnj6B5iKq3YSipbMCSzH1K34lgYsoYLEvVSyk93ToQlpi27+ PEP9gJlBC/Hby8AVw0t6dpgrbdqfxtFrIrN/KIP3yOyVEuptJFCPLMGyMG43U3Zt43lE OQQFaOahQJ3H/+7xi8nyZC2pgALkfWczBvNuj4rIMu4NV0/mqPcqshWkzowbckbCbwmI ++o7CWlpgbUnj/5yQa5prSyKc6UMfGPJjfy6Eu/9ij7dxE8lhi3Tib//I4aAd4CEN3oH nxQRHkiRka/nzUMxedWNbOoEA9rlWpFQP+V1erpgGdpnjyFDAkECjUeulU7p4NkMg3Uz nPfQ== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=1aVhptxZzVOVOzIOvZ6SP8W/ei+PNltIiTaCYhkH5t0=; b=NAIK3Ek0V2ogC0igedI1xxLl9osULCxs5YcTrq15apcnS8NMzwuBh2XQWjZ6pMlC8S uaCequKEbE6FG9fWFbuGvh+50ZEu8tOCvsQ8SiUnIucbU/5ufCX5KizpyROv8tjtnzG0 C+XyXcvEx9kOjdk+lhg4naqUXkKmFWSvLmto1DxMJ0bQO/aMXcaxClZgstV3BYBkI8Nv bSwVeJnM/Epf1HaD/kwHshTeYy7SS6B3ibO2WHRIr0Qu4gForUiXELZCaYwRe9X1lsMa 4OrKm1J1a4NS9Tq/67xEdgygrEx0Hwr6000EWkkEIZhxtNFsym8i2mi1jjpIigRtP/9M U8Tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VvgfEQOd; 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 x5-v6si3366468pgr.436.2018.07.18.09.27.41; Wed, 18 Jul 2018 09:27:56 -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=VvgfEQOd; 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 S1731254AbeGRRFh (ORCPT + 99 others); Wed, 18 Jul 2018 13:05:37 -0400 Received: from mail-ua0-f195.google.com ([209.85.217.195]:38690 "EHLO mail-ua0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730897AbeGRRFh (ORCPT ); Wed, 18 Jul 2018 13:05:37 -0400 Received: by mail-ua0-f195.google.com with SMTP id o11-v6so3305625uak.5; Wed, 18 Jul 2018 09:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1aVhptxZzVOVOzIOvZ6SP8W/ei+PNltIiTaCYhkH5t0=; b=VvgfEQOdz7AFq9xek1v4OhQhJHy4OA9ASVI+KjoN4nSn1FfY5FMhfe8SMXVYRIBOBq 8cUy640SWiPU5l3lCsS6WIDR510AvR7AseRGwOjOx9rXl+7ClJAdH2CBO78KyKvejRCF h0tH+kggFKwB7I4vWKtiDGmOs+vQgdPzpueHwhbCmlgGwFNsIOVb1ihPqhDa+mrBiZe9 MXKG9O1NvBnzKILikgs1jsZG2f1nnf+xhZK25XmLfn+JwGGlwQiPPpquPurmNiKfZxRx eD2Yz1R+xGtTHt8IHm3qF+TVQHkM6zpHW1tgkGryqzzY0G7wjqiQabRgBeZksla4SV1l edew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1aVhptxZzVOVOzIOvZ6SP8W/ei+PNltIiTaCYhkH5t0=; b=FwcNzh1XdlKlt995LZTw/ayl2TLsUYOvf1Ys1SEfdkbpTrITI/quAsssWkdcHxYgNE itHXAYLHwp2jHxoP6PKT5U/vcc+xdeQr1yph0tyeywOykj78LgzX2RaFKchrlmmOiu4H dNCuz6lRn0Qld7RfZOtSbCeEcWqkP0AP2+01vemjpFVNPw0C/gASoD6CxJkXvgr0b2Wk YOGkUV4pRTAWeHK+sRGLUSChS75xiEzaDR0eqBSjA/pAi89PRXJ0MIkW5wXimRvqBDZd mHR93OJ4+CAPLSoWi4c4T4wav4pgN8DSvOyvsMPY20AKXLNmdPQSlpByT903vkhWaGjo ti4A== X-Gm-Message-State: AOUpUlFA82Rz5PmHyKrEN+9SW1tDxN9uw2jvHpcsekDHRfRSPTH5IahO UakWOZrGuoig89WSHiePdSRmvtKSUbgKouBPlKo= X-Received: by 2002:ab0:6037:: with SMTP id n23-v6mr4389759ual.28.1531931216591; Wed, 18 Jul 2018 09:26:56 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:2149:0:0:0:0:0 with HTTP; Wed, 18 Jul 2018 09:26:56 -0700 (PDT) In-Reply-To: <20180718140946.115093-3-giulio.benetti@micronovasrl.com> References: <20180718140946.115093-1-giulio.benetti@micronovasrl.com> <20180718140946.115093-3-giulio.benetti@micronovasrl.com> From: Andy Shevchenko Date: Wed, 18 Jul 2018 19:26:56 +0300 Message-ID: Subject: Re: [PATCH v10 4/4] rtc: ds1307: add frequency_test_enable sysfs attribute to check tick on m41txx To: Giulio Benetti Cc: Alexandre Belloni , Alessandro Zummo , "open list:REAL TIME CLOCK (RTC) SUBSYSTEM" , open list 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 On Wed, Jul 18, 2018 at 5:09 PM, Giulio Benetti wrote: > On m41txx you can enable open-drain OUT pin to check if offset is ok. > Enabling OUT pin with frequency_test_enable attribute, OUT pin will tick > 512 times faster than 1s tick base. > > Enable or Disable FT bit on CONTROL register if freq_test is 1 or 0. Taking into consideration the amount of patches per hour you need to slow down a bit. -- With Best Regards, Andy Shevchenko