Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1519868pxb; Sat, 30 Oct 2021 15:54:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWUjl1aF9A1P5K86/4u6NBuVwOVg9y/7P0tfy5y2bu6nSASW3VL/RL5WmuvsrcgOK6kXh6 X-Received: by 2002:a17:906:ad9a:: with SMTP id la26mr11087337ejb.266.1635634477548; Sat, 30 Oct 2021 15:54:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635634477; cv=none; d=google.com; s=arc-20160816; b=gclOjlrI5lHAQ4qM1irv1cql3t6cveRRItbIBN4Jdvkb1bNumLy6CaDQ3EVeQ15PaW JSJ1qCifrdRXgyb9SXS1VakEAtoa//UhumLeWbw2bxqqmsmbE9NiR08Y2EidqB5gsoJc +BxDF8BXW39/021MMCZL7FCtfAzEsgmFWwzanmTvv4L9ASEoS06tKoM3oPxqcR4vszXF ZtybwTfzusb0gUxtXVOVlU4N/psxDpjy8P+LMud5d5zmqJIvKQYyqycD3pVLcjCQm3FS Pt3HmucpROVf1Yi3sMyn5LUlKFblxcXsu2OaQ48HTdXLHuixr2H9mc/a+FxaKCE6eV2J b7Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=42j68thEGgiIFDyh9NmT0O7JIbX2KjBzsYow1sqNjm4=; b=rASGo+fw5iqmP+Fy/UYjbiQf5ZcSCq2gMHsuPcluK2M1e9Ou1vLWv1II34Uj58Or2/ t7EkR1lU0OrEc6ELWlYMvJfof2UiHaBRpwA7SwuK6T06LZWYdQx8j3rNxBZXqBSQ0OkH IKFnp3SnjloiLFIrHRkRF50y+cmV4nIdjkDWuDTjW3Z//SlEtL1EvO+6hNPx1IrGzBn+ 9EuZnzPYzYxs7r9zVJNawO8PpEANfZdxg2o9iQyhwxMreSYefpuUyjJdp5MYd+0V6mu8 ys8a2iAZDwY687IAe0oT3XsBY+pc1IUxMiGU9ar9amL/nA+OMAQFKUyD4MJUGsfoEcR/ KCUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=kN4cPQPT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb40si16202040ejc.745.2021.10.30.15.53.57; Sat, 30 Oct 2021 15:54:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=kN4cPQPT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231556AbhJ3Wxh (ORCPT + 99 others); Sat, 30 Oct 2021 18:53:37 -0400 Received: from smtp2.axis.com ([195.60.68.18]:25911 "EHLO smtp2.axis.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230338AbhJ3Wxg (ORCPT ); Sat, 30 Oct 2021 18:53:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1635634266; x=1667170266; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=42j68thEGgiIFDyh9NmT0O7JIbX2KjBzsYow1sqNjm4=; b=kN4cPQPTHW3xSgOtO+Jktn8q2BHeOzZNgyDetI8trkxfft2NlLhht0Xt iS98yoC2qbz7huWOG47MfG2C+nMwBUqzoxuRGoYtp4MnRK28p28/MkUse ERgoh2oU74O1IiMdg44wZHOXKbf8zqTsuR62Ad2dVQssXnxexoAF1NYsS 5xb1hcSGouZBPX65TpAuLS1axvf2CSM7J7bBZuz4WWt8PxJjd4M/bhPNw pDjobv+a+Ckw63yXBk+1W1armpxMyoGIxrtMIazd/rE4lkT9uAVqulacn RGdf6Y0rNwL9oKbVvI2XXYhaBzEH8OJozACs6Dd+rSIhm7ThhSbjVb8LY Q==; From: Pavel Modilaynen To: , , CC: , , , , , "Pavel Modilaynen" Subject: [PATCH 0/2] *** Ricoh RS5C372: add support for Xtal trimming configuration *** Date: Sun, 31 Oct 2021 00:50:52 +0200 Message-ID: <20211030225054.32114-1-pavel.modilaynen@axis.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pavel Modilaynen *** BLURB HERE *** Add support for Xtal trimming configuration with new DT property: ricoh,trim. This uint8 property is to contain raw value to setup Oscillation Adjustment register (0x7) of Ricoh RS5C372 and similar RTC controllers. This raw value has device model specific format and is used to adjust (subtract or add) time counts per second (normally 32768) on regular intervals (e.g. every 20th second). Pavel Modilaynen (2): rtc: rs5c372: Add support for trim configuration dt-bindings: rtc: Add bindings for Ricoh rs5c372 .../bindings/rtc/ricoh,rs5c372.yaml | 58 +++++++++++++++++++ .../devicetree/bindings/rtc/trivial-rtc.yaml | 12 ---- drivers/rtc/rtc-rs5c372.c | 18 +++++- 3 files changed, 75 insertions(+), 13 deletions(-) create mode 100644 Documentation/devicetree/bindings/rtc/ricoh,rs5c372.yaml -- 2.20.1