Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp319108rdh; Thu, 26 Oct 2023 03:13:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF95AQZOT0nO+qwkgYzfsHh7UApDGOmsYnUCoxqZvUWZFnq8m33ZnEKLhU4vMsG3SGjhToT X-Received: by 2002:a81:480c:0:b0:5a9:117d:ddbc with SMTP id v12-20020a81480c000000b005a9117dddbcmr15022102ywa.15.1698315226163; Thu, 26 Oct 2023 03:13:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698315226; cv=pass; d=google.com; s=arc-20160816; b=pkTfxhsNwVIU9ggQnVPNHPF/Ffr+lzuoTvhCCRgjuzAiOj05fCluL4NqvFOaOGGrUO pbIR/s9XqYjANULjsYWhE99pxa5a18lGE7V6BQ/JvqU4y9IMo1dG57KRWWNSPU+EWAVH tBWqXcoPH26B2sknYQqVGER5x848el/Ws2dOfXDVcWN0nHGOC671vsfXt0GKENw97hkT ItSDSVdMcgCgxAvX/JFwVRGcp8WOFED8wLHHC6p8OPNkP+4hh9j0rPcb/yYaO3B2XTh8 VbZt0VL4Fry0kjXwrNjUnW2aMHfjCYqylwYAXnTwfG0JUG1wdswzvx0CDZrDhdBeEQRM qlcA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=vU86Lgx/Cba4DVtl+DHsyuKKrioMs/jT1UesPmT7+00=; fh=qaS7wibHxnggHJTysLx6ACHhbj7s1p6ntTIH3KNZsoM=; b=z5XViQn35kjgwaH+FIakdRAuJfG+8oGSUMSxHvhXC2LMzPsubjZkwG+SsBKUBMzC/O erKM5JNoJJBMYHoAF9RmZndIrZxZ/ney1KMa6H1hsl9H+v0eFHTMhD+7R99UdXWJ0xLW wQMBSx5WopsbrZsySKYZSmHt0BhjxT2U9dhc2SxS6r98ricm9I82GZlecI0wpqxJIS3V XNeCjYWbFNrX/4sbG235CXjMQc209SXvUZyS+UjMaE5i6WFtaafPVrKxZ8jqcsyC2T7V XNQoEUdxo5IoUT13zyXskyLztq8nB8edEKhJK4mCBA5RlT7LRwplP4Ypc0+9pBugLeFj TIEA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b="u/iJadvQ"; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id t2-20020a817802000000b005aeea573f76si1690715ywc.221.2023.10.26.03.13.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 03:13:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@wolfvision.net header.s=selector2 header.b="u/iJadvQ"; arc=pass (i=1 spf=pass spfdomain=wolfvision.net dkim=pass dkdomain=wolfvision.net dmarc=pass fromdomain=wolfvision.net); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=wolfvision.net Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 5B3508242999; Thu, 26 Oct 2023 03:13:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229821AbjJZKNf (ORCPT + 99 others); Thu, 26 Oct 2023 06:13:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229611AbjJZKNe (ORCPT ); Thu, 26 Oct 2023 06:13:34 -0400 Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2075.outbound.protection.outlook.com [40.107.247.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88D0F198; Thu, 26 Oct 2023 03:13:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KP7Qew5Q/IebgzeLyjB6ML6FcPlbtoAWaxMXmUNVQx5nYhLwtPw0h5hR2EFbe6XdGRfWH6V7cli6glmIIRjmmjPPYkglJVPIZvamrAaZ8ciSDdjKtKojpakeSp6mZkeiyb+ZS88oHXlB1e88C5mGvKMEFfcXe9OiDAXpZt221ueAXGutjW1zGA41aC3otpaZgYiX6f7dciN2fyrumj4Q+UVk7vL0CqZF/PXM7otD2CnC9KYkCg6PMNEWoeKa6gE9XzvVa/qBD3qlHh9TxvwuZu9gmafZ8TverQlRsQMGLhoxIvdJwnLjNZ0kCEI4EYCtOi6teSAcxjepfryt6V/OOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vU86Lgx/Cba4DVtl+DHsyuKKrioMs/jT1UesPmT7+00=; b=W254FZy6qgVUqDAVTickLIgT/kpQElpSfJdU5Avc9Okhc0IIDQJ8aygpQoU8q+ZpImIp6UKLnA8hkIPCvYn49UyO4zzIueuHqdY18uLDVuwndycsFGWTZV1tk73/ne3sx/rw+itRRfuwJrYcJ7soh2hpZ2/cjj4RbG88otXcftIsCNWyjCjEVp7y/wejlxX6sAx4yy2ejhYKaJ9hdP4+FVkR8SgCs5Z9Mmdze+2Ox9EFtK/+qICdkMmPwbWeqtdkSkkSIj/1H9eqcNajCSY2FnTM01Lhm1CQXnbDV+VHPtoYCw5YJbvbmxi85GI4vaK8VK75UCx5n+9y6zdtM8jbXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wolfvision.net; dmarc=pass action=none header.from=wolfvision.net; dkim=pass header.d=wolfvision.net; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wolfvision.net; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vU86Lgx/Cba4DVtl+DHsyuKKrioMs/jT1UesPmT7+00=; b=u/iJadvQnJmYwLlJNsIaKcVfW1MgHGN+37PbWPm0B4NGOQ10YT669Qt4O7lcvtidiUPvwmzRcEoeEWwoqz5vTFxcPA7RUuMKh3leBMlq2MGBW0Zy/gpxXh44XEol1y5Idi1Wm+RSFqOm1QGNKvSNfmXZTsZPEClSSHzqoSdoGBU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=wolfvision.net; Received: from VE1PR08MB4974.eurprd08.prod.outlook.com (2603:10a6:803:111::15) by DU0PR08MB9848.eurprd08.prod.outlook.com (2603:10a6:10:443::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.22; Thu, 26 Oct 2023 10:13:25 +0000 Received: from VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::a309:1d65:f5fb:436b]) by VE1PR08MB4974.eurprd08.prod.outlook.com ([fe80::a309:1d65:f5fb:436b%6]) with mapi id 15.20.6933.019; Thu, 26 Oct 2023 10:13:25 +0000 Message-ID: Date: Thu, 26 Oct 2023 12:13:23 +0200 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] dt-bindings: rtc: nxp,pcf8563: add hiz-output property Content-Language: en-US To: Alexandre Belloni Cc: Alessandro Zummo , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20231024-topic-pcf85363_hiz_output-v1-0-50908aff0e52@wolfvision.net> <20231024-topic-pcf85363_hiz_output-v1-2-50908aff0e52@wolfvision.net> <20231025222327c0b5d460@mail.local> <2f17c031-30f6-4242-b2a1-1628402b3091@wolfvision.net> <1c4a6185-fe09-45d1-900a-10abf48e3fc9@wolfvision.net> <20231026005008b8255799@mail.local> <8fec6c89-548b-43b5-8361-869663a58573@wolfvision.net> <202310260956166bdcb845@mail.local> From: Javier Carrasco In-Reply-To: <202310260956166bdcb845@mail.local> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: VI1PR07CA0220.eurprd07.prod.outlook.com (2603:10a6:802:58::23) To VE1PR08MB4974.eurprd08.prod.outlook.com (2603:10a6:803:111::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: VE1PR08MB4974:EE_|DU0PR08MB9848:EE_ X-MS-Office365-Filtering-Correlation-Id: 7bf81278-65ab-4c19-6aa1-08dbd60c311d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: k99v89U0BklFehDkIw/hZv0KAo9sSZcqzufQ40mnAhS2m8tHYvgKf5VXLs/lbyq3x9bW4vl25k7SZc4pwdSW6ZTxWIJ85E1CfaInaiwZOUWquXX1GPfjekB/zLwxzMxwg2ywwRs5MwA1iwCPzO+EltYL424G2jA0rYPituUGL3Gv/6vjRd+gL3Z/uheGzsoQ/bTPQDJLaEb0tdW9NsOEJPzVX8n7kShkmP/gx4KznBLVTTl/RK2+p08XAaI4geB6EtrcXZq5NJAbqD7pAHwKYRGeokE3qbKtiXJ01iaRkHrmL6KN25SK+hOvTxpN1c2rwu2HRxw9V965lDZ6OAAzURgrcKdzdZAvv9HBFsgnjk87Z+dS9eaCnSc6ixLXgJbi3PZKUpd+87ClWfv/3+KeyRwkJXVbUWbgxxjRecGLlIBlPCFkmEdvdlU5Pl9b6V/YaZWcyP4E/tzUtb0TEgms4uCzQOZORI+bVUZhA+NHxu2ZRTCpizNNfrFAzb/UJcPG0ZeoBK99SvlsM2urLOvco3kieoHkZgdCcNZAKLQdsyqWFXacsqYrS9IHsu1BKlKIE3b1g3T3J85dpsNXl3/FYJbblu9coeh7+HoonnJ/7ksmD/0uqwyYcUCFtYwQOXYs8x9lTR3rd4jwN5T9kT98Pg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR08MB4974.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(396003)(346002)(366004)(39850400004)(136003)(230922051799003)(186009)(1800799009)(64100799003)(451199024)(66899024)(2616005)(6512007)(44832011)(41300700001)(5660300002)(6486002)(8676002)(4326008)(8936002)(478600001)(66556008)(316002)(6916009)(66946007)(54906003)(66476007)(36756003)(6506007)(53546011)(86362001)(31686004)(38100700002)(2906002)(31696002)(83380400001)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Y3Y4endhcmFUVkhSRi9nVkQrTExyd2RVd3pJaVZLVHNzeWpHVXIzNkkwVmo0?= =?utf-8?B?SEtnaHVlQkRQZGhZWERSbWtZVU9hamErOXRvU0pvNDlpYThKcWh6MlNzUWdQ?= =?utf-8?B?a2FRMHBmanByQktBaU4yTjNKMndnczJQSjJJREgrbEtibnJ1ZzI2Qk1wSGRU?= =?utf-8?B?QlBDZndu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mJ2L2xITUxlMHpWNmpw?= =?utf-8?B?eGFwNTQ2TFFNYS9od2FPU01RRmNqYTJKc1BGRUk5Z1FpQytnOHVSakRsbjY0?= =?utf-8?B?cUh2T05VOFZJdDlEazB5TkdITllpenFQcFY1Wm1TQ2x3OElTOFNYVXRHUTJl?= =?utf-8?B?V3dUb09GZW1nTXJqTk8yVjVjUDR3Q0NoYTkvaHgrZFJXZlo0Tjd0UlB5UDMr?= =?utf-8?B?T0NSblVZNEUxMmJrYXR0VjFZNXFnaTlRNUFtWFZaNFY5L21SNU9vdC9mbDlq?= =?utf-8?Q?4+u0Hc0cC0WkHWEPg4GmcuhpoX0lGEZd4XLeKp3L24=3D?= X-OriginatorOrg: wolfvision.net X-MS-Exchange-CrossTenant-Network-Message-Id: 7bf81278-65ab-4c19-6aa1-08dbd60c311d X-MS-Exchange-CrossTenant-AuthSource: VE1PR08MB4974.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Oct 2023 10:13:25.6489 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: e94ec9da-9183-471e-83b3-51baa8eb804f X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Yp/dnjoSqN0pWQdUkK9vvQq/0zgdrIYfGv82pxq7n7NzVj2eB1i88sfkKyu+ysL4BqqqGZ4TgYmsMJcvKjMXDcO0oS+8EKJiPM191oDp/2E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9848 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 26 Oct 2023 03:13:43 -0700 (PDT) On 26.10.23 11:56, Alexandre Belloni wrote: > On 26/10/2023 11:41:47+0200, Javier Carrasco wrote: >> >> On 26.10.23 02:50, Alexandre Belloni wrote: >>> On 26/10/2023 01:23:21+0200, Javier Carrasco wrote: >>>>>>> + hiz-output: >>>>>>> + description: >>>>>>> + Use enabled if the output should stay in high-impedance. This >>>>>>> + mode will mask the output as an interrupt source. >>>>>>> + Use sleep if the otuput should be only active in sleep mode. >>>>>>> + This mode is compatible with any other output configuration. >>>>>>> + The disabled value acts as if the property was not defined. >>>>>>> + enum: >>>>>>> + - enabled >>>>>>> + - sleep >>>>>>> + - disabled >>>>>>> + default: disabled >>>>>>> + >>>>>> >>>>>> If instead of using a custom property, you consider this as what it >>>>>> actually is: pinmuxing, then everything else comes for free. With >>>>>> pinctrl, you can define different states for runtime and sleep and they >>>>>> will get applied automatically instead of open coding in the driver. >>>> >>>> I am not sure if your solution would cover all my needs: >>>> >>>> 1.- With pinctrl I can model the SoC pins, right? That would not stop >>>> the RTC output though, so the 32 kHz signal would be generated anyways >>>> even though the SoC would ignore it. That is one of the things I want to >>>> avoid. >>>> >>> >>> No, you would model the INTA pin. >> I am sorry for insisting on this topic, but if I get you right, I would >> be modeling an interrupt pin (INTA) to keep it from generating a clock >> signal when the RTC itself offers a high-impedance mode i.e. avoiding to >> use the RTC feature. >> >> Is that not a misuse of the INTA pin in the first place? If there was no >> other option, that would be an easy fix, but why would we not implement >> the hi-Z mode when it is available? If I see a pinctrl-* modeling an >> interrupt pin, it is not obvious that I am doing that to stop the clock >> signal and I would have to clarify it explicitly, especially if I am not >> interested in the interrupt. >> >> I would rather implement and document the hi-Z mode the RTC offers >> instead of using another mode like INTA which actually can trigger >> interrupts. If the implementation must be different is of course another >> topic. > > There is a pin named INTA, it can mux 4 different functions: > > - clock output > - battery mode indication > - interrupt > - HiZ > > with pinmuxing, you can select which function you want for the pin. I'm > not sure what is misused there. > > Can you explain what is your actual use case? I'm starting to understand > that what you want is simply disable clock out because you are not using > the interrupt. > > If we assume we are never going to use battery mode, then we could > simply used the CCF for this like the other RTC drivers. > I want to model the INTA pin as a clock source that only should run in sleep mode because its clock is only used in that mode. Therefore I want the pin to stay in hi-Z during normal operation. I do not want to get any interrupts from the INTA pin and the battery mode indication is not relevant for me either. I do not know the CCF mechanism in other RTCs though, but I think that the hi-Z mode accomplishes exactly what I described.The assumption about the battery mode is therefore beyond my knowledge, but my first reaction is that we already have the hi-Z for that. So in the end I just need a mechanism to configure INTA as hi-Z, which the driver still does not support. There is another application where the clock output is not required even though it is physically connected, so hi-Z is again an interesting mode and the battery mode would be available if it ever becomes relevant for anyone.