Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6621251rwb; Tue, 15 Nov 2022 00:58:56 -0800 (PST) X-Google-Smtp-Source: AA0mqf6TE4pUcpBoJROA8nJ4c6YdQAv/yysT4QD+2V19hBQ3twVZzhl2WgVuGqoVE5IjUdrqQFSd X-Received: by 2002:a17:902:e8d5:b0:181:6c64:6dd3 with SMTP id v21-20020a170902e8d500b001816c646dd3mr3073118plg.123.1668502736172; Tue, 15 Nov 2022 00:58:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668502736; cv=none; d=google.com; s=arc-20160816; b=vXgxYIlEIj4mcH2vfA6GG83BLqfCV47gcrKaCSXLUU6ZsPrAlX54+H8kVRfxJnJhYk 4OgHhsrgBMRhAdxrKtdQxvV3dxazx2n/zEQDUOApkVcySOkBpgPfqyDX9f5BDigr2XCG FU4lLXuCOiFYnxRhNlJFjt8J/IS4AO/bJITzmadtrrGrQdmRZBJEs6J64Jq1LNLu8bK9 0xZZuLLeqLC3WVrT61jXm5NtTnGDZYFWn3icrifhyNfcDTPtvKGo+N8+1aQSud56L1S5 9X+QivDzBIX2xTMSMS+wstBR+gt0xqvJ7O/5UV+9fDah6lDbA62/yV9yUdyXbvER083z GggA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=eEbSHKHGRpbb9PgZ/zPz2mmQi5ODZU5r5BMBef00TwA=; b=J7KMo0g4Tz0htE7Hre1WkN4sG4vH+DCncvgxL1B7HB1YCYzAMzftwhuKwMlcQ47hpK cKNzqsPcoJ0MAWTC8GjS4Yhc5rsOpvTR8BeDnJ8yod1xY74HAKmuQko+mzgt5CGTo8ET xuyaVyIjytlTHKmxGDHOkdfKjIsM8+PkIjTdQe1LrdAT0VpUxT2agaPphdGCOIlRpShF 9T/dxE4RiVOZtAKDKgzurOsn6Xv7biLYBVIid+lO1HOfoJe3UTwdNHy4w/WPWNJm3MT5 dg3I9sVUxbZ/uSzJMz5+WZVeqSMzDcHmROg+5J/l3Evw9Nd9SsmaDxYLnULHhtBPjd/2 zG9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=pfBhwswO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n9-20020a170902f60900b00176b7e66c9asi11915557plg.155.2022.11.15.00.58.43; Tue, 15 Nov 2022 00:58:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=pfBhwswO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229967AbiKOIFd (ORCPT + 88 others); Tue, 15 Nov 2022 03:05:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229921AbiKOIFc (ORCPT ); Tue, 15 Nov 2022 03:05:32 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D24A12092; Tue, 15 Nov 2022 00:05:29 -0800 (PST) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 2E076FF806; Tue, 15 Nov 2022 08:05:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1668499528; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=eEbSHKHGRpbb9PgZ/zPz2mmQi5ODZU5r5BMBef00TwA=; b=pfBhwswO4mTb4ORezuGnVBW6MsdaRQQTND2iQzNEIYu47J5OLZJsz4OHV3j/FjxNBuMYef iJjRCOWK/PyfCQGtnGR0CuKFbskranGo0cuchaIxNkEeSbbdkKfojCVcthAKVeDOwdhU/L gWud8NSqWFagejFW3AO3F2D8U4SL/Ww/X6f+4BCzcRCZUzXUtCk7C8ET5CQTo2vpW914Ic QcA4ZrxVTTcWncMysRsk1wtnYCnAONud/7rUdjeU3ZLSoiYvjaDP0CVAqYAnAJv8zg0hZC kMDafJXoF9EPqIzvvB6V9t9O4NUTNnp9WeBZr7NPzqBJdh2f1x7oKmn1rP/2zg== Date: Tue, 15 Nov 2022 09:05:25 +0100 From: Alexandre Belloni To: Krzysztof Kozlowski Cc: Rob Herring , Alexandre Mergnat , Fabien Parent , Krzysztof Kozlowski , Sean Wang , Mark Brown , Matthias Brugger , Lee Jones , Chen Zhong , Alessandro Zummo , Pavel Machek , Liam Girdwood , Dmitry Torokhov , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, AngeloGioacchino Del Regno , Fabien Parent , linux-rtc@vger.kernel.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, Mattijs Korpershoek Subject: Re: [PATCH v4 2/9] dt-bindings: rtc: mediatek: convert MT6397 rtc documentation Message-ID: References: <20221005-mt6357-support-v4-0-5d2bb58e6087@baylibre.com> <20221005-mt6357-support-v4-2-5d2bb58e6087@baylibre.com> <20221109222916.GA2985917-robh@kernel.org> <37dc4e39-8033-a40f-edd7-4bd30f841e23@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37dc4e39-8033-a40f-edd7-4bd30f841e23@linaro.org> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/11/2022 08:56:40+0100, Krzysztof Kozlowski wrote: > On 14/11/2022 23:57, Alexandre Belloni wrote: > > >>>> As this is only a compatible string, just fold this into the MFD schema > >>>> doc. > >>> > >>> Actually, it probably also supports the start-year property > >> > > > > I checked and it doesn't support it but this needs to be fixed. > > > >> What about rest of rtc.yaml schema? > >> > > > > wakeup-source would make sense but the driver doesn't support it yet. > > The question is about hardware - does hardware support waking up the > system via interrupt? This is usually a domain of PMICs which still are > powered on when system sleeps. > I'd say that it is possible that a PMIC is able to wake up the system with or without having an interrupt wired to the SoC so wakeup-source makes sense. We don't need it if it is interrupt only. -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com