Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp761307imu; Tue, 20 Nov 2018 06:36:23 -0800 (PST) X-Google-Smtp-Source: AFSGD/XTsYXY1eaH2wUvDzBzDJZIUYTjJs+6vb0ktJOfoHspGw+d6SrXL5uMkFMa/2ykJdRlHvuV X-Received: by 2002:a17:902:66e5:: with SMTP id e92-v6mr2462731plk.92.1542724583252; Tue, 20 Nov 2018 06:36:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542724583; cv=none; d=google.com; s=arc-20160816; b=TTNYbVwskBicZDRA2BC8HhLQOu0OfXf4LLyxhlFExkvgt7F2YKMl6FwE3SCv/gmbTG zFTvNFiOKESowVy6IkvsJnYvev3eJpDACc/opxxQaLeFZi61fAvjJre4zp8Z+PJj8wR2 4Z5Y0IOVL0BITbJXvM+hwWCrKD+NnfxFxWM82YK9hHqyHWY7VqKK7irFCVtY3HBsF3lT vEi6Ypx7Tge4HPtHXRk54NPJ865eXwLAvY6UICfrHTJvy+A7+quRadEN1NrJzTQDmuUU 5pb5lBcAZrZgo19Gb11DMRnseP9afN8K9QOwiXHTsFy+N76Lj5hSfnDI85oN6Lq2izWg xZnA== 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=wlWXp8fpvUtCTFs5QE06so0nwIH2qnlZg4EYF3K3jdI=; b=BqN27S/XWrXptUyeFKBT8rDNMqxhRABZrb2Wt96ygplyLbRz7EliyXzovvKXVVrakD t927iccf5hHQwnqvksr+5rT+xJW7bj/211wdBEnp4PGPrcKDt/qpIwa3V/X/F/eRaFk0 IuCIehqGwTQ91dy1h5uMhuOCLV94Of0DYRFeh9XRS14K4ny5th01vgUg/fKBEAmCtlIi 2H4FO5ESxiVJA6EpwOOLRT1pEjQWd4fXNwWCbBWk7kpqsrJCK7gqz+q6xj63yqFhqObs 7lDU0mR9bR34z2s9IG9WBLVZADyMrHRr97nkTOoJ/eY8D/Z0fRH722Wl8kSpphuz4nV3 cb2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H4j2428o; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11si4388982pla.20.2018.11.20.06.36.06; Tue, 20 Nov 2018 06:36:23 -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=@linaro.org header.s=google header.b=H4j2428o; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727975AbeKTUVj (ORCPT + 99 others); Tue, 20 Nov 2018 15:21:39 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:43250 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727951AbeKTUVj (ORCPT ); Tue, 20 Nov 2018 15:21:39 -0500 Received: by mail-lj1-f195.google.com with SMTP id 83-v6so1055994ljf.10 for ; Tue, 20 Nov 2018 01:53:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wlWXp8fpvUtCTFs5QE06so0nwIH2qnlZg4EYF3K3jdI=; b=H4j2428o1P42IH/iAU1Ta6GIq2NJnTYlpnND4+gQoj5ZgmlzATrmcDBcWROnj70ETv 1DxRgjQw8nYyX80RcwtvFMpTZzymf4wBvEFZH93Kpze24KYyVfh/t4cD4nBDbV3iZOYm WcZbdUjkV5j1SnTnZmUAla+NLKwb5oks0EqOA= 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=wlWXp8fpvUtCTFs5QE06so0nwIH2qnlZg4EYF3K3jdI=; b=COPV65E8mVOqqKfehTNIG41A50NrODxRlgJT6kyWBZy0BVbCJULsATWCPPrmwlDqsg lBCtY5ZQAXBqYda2OZPy6KBqNqHc3Hh0s9zvu0pGybOgbJN4jVrjbt43/F01yHwGPLad GklQQlJ6P8Ie+epabsvJ3VfvKvbKkxD6GUsChs7Jqnv6RUoIcF5agcbe0uIs+YbVEzPl grH75Ur2XN9N4VwUwnn8+CFyhF/e/vt2Nbh5CDjZbELQQONEr/bq/Dii63hD+BLZ1JrL xjH7SO6Cw6e/mb+C9bazrUDCYglY4VQs2yVciXxbdj1iRAOrkmFb3rSA0R48TtjNF22r W83g== X-Gm-Message-State: AA+aEWZAJSMsf+C8oAhOhoIdQv9TnIlaNtr097bj/+3ekLFRbpA0R4uR qKCxcefG31+eQj8lVuov3iY0K8V54AWBYiOLClLUCg== X-Received: by 2002:a2e:994:: with SMTP id 142-v6mr695818ljj.120.1542707601794; Tue, 20 Nov 2018 01:53:21 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Tue, 20 Nov 2018 10:53:10 +0100 Message-ID: Subject: Re: [RFC PATCH v2 07/14] m68k: atari: Convert to clocksource API To: fthain@telegraphics.com.au Cc: Geert Uytterhoeven , schwab@linux-m68k.org, Arnd Bergmann , schivers@csc.com.au, Thomas Gleixner , Daniel Lezcano , schmitzmic@gmail.com, John Stultz , linux-m68k@lists.linux-m68k.org, "linux-kernel@vger.kernel.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 On Tue, Nov 20, 2018 at 10:30 AM Finn Thain wrote: > On Tue, 20 Nov 2018, Linus Walleij wrote: > > As with the Amiga, this chip also has an RTC clock that should go to the > > RTC subsystem, naturally. > > I think some Atari's have an MC146818, which is drivers/rtc/rtc-cmos.c, > arch/alpha/kernel/rtc.c etc. Indeed, some systems have more than one RTC, often one in their SoC silicon and one battery backed elsewhere (like a dedicated chip on I2C or inside a PMIC). We usually just register more of them. The RTC subsystem can handle any amount. It's up to userspace to figure out which RTC to actually use, which is not so good, we should probably have some heuristic like a quality indicator on them. Yours, Linus Walleij