Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp482445pxh; Tue, 9 Nov 2021 13:58:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJximfpIdes4NbeeAtIMzy654A1gfp3MFmOJjHlAd2SEqRiJTaOBGNWkRojVaaedgKOPMhi1 X-Received: by 2002:a05:6602:1cc:: with SMTP id w12mr7368570iot.63.1636495131281; Tue, 09 Nov 2021 13:58:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636495131; cv=none; d=google.com; s=arc-20160816; b=GOKw0PSa/jsK5MkkQ7mtRcU0rYWNV8NQIYm4XAhrm6xQRBHnsf6vz1EFTqT7S64yrx tog/7ODuBpqpuSNC+10nf3XWhpT1Tpk6cFHaVN/vSZQydq9eWBf+DUpSyYJouqFxrRAA 6v3SDX1XsiXxmstZNwf+tVsiMHolqNcUO3wCJkN4Ivxsj7KREbrr72VYoHsZ5FPZXcMT gaoqphZLjkikH02LriQzc/LhRnZbXjptIcH3r36I8oM8m7RfQc+LmUZZi4CXn9eFk1wF JAuHA2O1X4nwxWqivf5qJDG+5CXJob8zbsKDhONxWWKtgbHCMnu9NaiXciaXelQRoPjJ 5XCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pFIaOEBE3jLlzl6nBmZ3jg57oyX5JW9xJ2v9BAzzICM=; b=b5aQ2eRpeXrKO8Sdi36KEiX0XZWzBkSenr3UZ/s0lmUigUxTzqx+dK/49KUcz+Eu5p ahAXtWPwZ//zt/VmmGKpwqh5gOJWf9xlUCzoFHbTU2G8BX8wrrm0LWB7fihEzDYMWYzL 3fl8x/I/Dv7HRx/RFfBzgkTvmyALDJA9V8fsBLiueU+sBXD1z9eFETF2A65dZkLSoYo7 IvIxU9Cv1mv7AXUP86CmZ1w/5KxjfO6sHpBBMwmWy++KcE23jdHcq3iP1o9HpnPTrCsu DPMHZpgEFgMOcRUOd6xnCFnDEKTKWHIRy9ZolJUVgADezh0VY9aIm7BY5ZTb08RVEmNC bzWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LeL9etCe; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w7si38499676ill.182.2021.11.09.13.58.35; Tue, 09 Nov 2021 13:58:51 -0800 (PST) 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 header.i=@linaro.org header.s=google header.b=LeL9etCe; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241871AbhKILuO (ORCPT + 99 others); Tue, 9 Nov 2021 06:50:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241874AbhKILuM (ORCPT ); Tue, 9 Nov 2021 06:50:12 -0500 Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 443E4C061764 for ; Tue, 9 Nov 2021 03:47:26 -0800 (PST) Received: by mail-oi1-x233.google.com with SMTP id t19so2893694oij.1 for ; Tue, 09 Nov 2021 03:47:26 -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=pFIaOEBE3jLlzl6nBmZ3jg57oyX5JW9xJ2v9BAzzICM=; b=LeL9etCeX8uwNqkyylsOjPnNZMdwwusOGMOEeW3rU91ddwANV9F460ShhpFrXwEKUu AnHaSEFTF+I14vnJJv7Am22NNyAgQvtHjzrucgLjK4yF1Xhl0RUCdVpuDRLR/FH4qvsB u+X0jhFb5z3wC3pzI3A/BqEgfymLUkhwXwI98jrHX6B+TYqVlPaBTFJLgIYeDbsZD4Rv Gh9rZlnmXl+hEB1EG21CwcdRVKQ3UMJAa2p2pk+1gT18qu7dYcUFhmZbP1KbF1mfB2wl skyVmuNW5+Q7gWlJOR6DD8kMZWmgv3tqwcute5zFXB5ce1c1J0VngvOQOntQYMAj2SmF 4njw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pFIaOEBE3jLlzl6nBmZ3jg57oyX5JW9xJ2v9BAzzICM=; b=egidjCaf9kTD9vG0D4uxjeJUfrLTgAsTznZD45kWIF1GRhSPUVDHvq4DkGDmPftzsl y4GAtLTEjpEw1WBq+Zev+qgXhtv9A5gHUYfP2XzsXS1JBfDJ6NkDlLb8jN2+i8iGttmR 9JhEKp0zXKPIJoWHNMF1+gemnZimc+RgtsoSAm6KSVN9hxggwJv46XDbPJptp+XADNOE aSlRo4xTHynBw5LyoVTp7T7Qg7BAM1CFaT290aRy/NIZ3rC43C/z50hjvpB60lNjZ1Qm SQT2NIJP45MNWfzghrrCy0EfxifmRRqLnc9MV3DIXJ1r7cfs1T0gLVrkupVnjG5ubJzT qbgw== X-Gm-Message-State: AOAM531PTaBfNSW6B5sddGtSyERKN3+qem+FOoXoOoMA3bSnxaqqS/d1 Hc2yCw9M9BjpDKByOwgpbhAzE/6/AYVSJ1Ig75qsQcre74s= X-Received: by 2002:aca:120f:: with SMTP id 15mr4887619ois.132.1636458445642; Tue, 09 Nov 2021 03:47:25 -0800 (PST) MIME-Version: 1.0 References: <20211107225458.111068-1-alexandre.belloni@bootlin.com> <20211107225458.111068-6-alexandre.belloni@bootlin.com> In-Reply-To: <20211107225458.111068-6-alexandre.belloni@bootlin.com> From: Linus Walleij Date: Tue, 9 Nov 2021 12:47:14 +0100 Message-ID: Subject: Re: [PATCH 06/12] rtc: ab8500: let the core handle the alarm resolution To: Alexandre Belloni Cc: Alessandro Zummo , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 7, 2021 at 11:55 PM Alexandre Belloni wrote: > Tell the RTC core UIE are not supported because the resolution of the alarm > is a minute. > > Note that this is in fact also fixing how the resolution is reported as the > previous test was simply ensuring the alarm was more than a minute in the > future while the register has a minute resolution. > This would be ok if the alarm was a countdown but ab8500_rtc_read_alarm > suggests otherwise and the AB8500 datasheet states that the RTC > documentation is not public. > > Finally, the comment is wrong and what makes the UIE emulation work is > uie_unsupported being set. > > Signed-off-by: Alexandre Belloni I trust you on this one! Acked-by: Linus Walleij Yours, Linus Walleij