Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6641021rwb; Tue, 15 Nov 2022 01:18:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf7Tlpk8w97OIdWDJe9VWaXwBA1hqOW80W5qTj6/c9IdXsYQqpVISG08pDFg1IwDzmVD/Qj/ X-Received: by 2002:a17:902:904c:b0:171:5092:4d12 with SMTP id w12-20020a170902904c00b0017150924d12mr3209323plz.107.1668503903930; Tue, 15 Nov 2022 01:18:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668503903; cv=none; d=google.com; s=arc-20160816; b=z+CoKL42JtPcbcShg+nyEQ2ljdxBivJdK1Hcdsz0xRMiL2NvJCAiZ0CVtcbLT1aMlh VXHZ45P68ySNTUIvl/zTU4JigVqt1r6iRP6WFfnGWxpqiAsrS99k9aGjrt/AQB2POVN0 fBg8UxDrt8ICQorFkv4wZc+IIcusOaDuWZDt90u1le8OmFEsu4vDY3Q/XC4Msk1pgcBn YBr7zofkkWdU0m7dGeXjxj0iLwVf7g/9cypsyR6mk4Asy6wjNZKxcrNvopegnmAB5CZT DVBoUHdaCQb+VFSqszg1YYjZrPWQUIbXbCHvY/LEgzkOSd5jGBDEffxC1O2wHhpZCX5Z zHWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3GYVEqyWRIb5M8DvqDeUYgwKR6PMorbc+DxpJvheRTc=; b=OP7bX9YeEn6uHxdkKwZ0k6t8jD/2u0jrgLlhe5RPoOmeMKXZi6D1uBMqMq/WKURh5n f9KzwZZJ4jDOzW9N2AuvFl9jS8ytHYg+1CWIyRRMeAE7wDe02h/GjkBFEDKpACXTNEvz ahWWRwOMxE6x+ASp+acDg5nW+4HlkqqZihvRx4e2JVb37rH5UrQkft5dZueRx7ZEwhkX hWpC2+VKl8kRRQMaKTJtgOn1dbYEELVXgNP7QWtaOFd2ygH/mrInAzsGAqFgQyy+CBXu 2uMyeOZ5/3BVhfEr2JLf9Nbvz7G/pDi8iIBUJ//OhHd0TTV5jlMt01UQw+dot++kTBdi 0Vcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TqJCj+iF; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id om1-20020a17090b3a8100b002180c61f557si11754889pjb.99.2022.11.15.01.18.10; Tue, 15 Nov 2022 01:18:23 -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=@linaro.org header.s=google header.b=TqJCj+iF; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232131AbiKOIRk (ORCPT + 88 others); Tue, 15 Nov 2022 03:17:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230125AbiKOIRf (ORCPT ); Tue, 15 Nov 2022 03:17:35 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C47641E3F5 for ; Tue, 15 Nov 2022 00:17:33 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id s24so16506442ljs.11 for ; Tue, 15 Nov 2022 00:17:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=3GYVEqyWRIb5M8DvqDeUYgwKR6PMorbc+DxpJvheRTc=; b=TqJCj+iF0xcmojTDBuDLqr1AeL6bJ9jOa5Q+rGhcue0HiucpyMr4LZxSGn3fUOgaWN MB546udpmn7GTMK6FamliZ6yOM0xFmEaWZ0FAaB8W4Be+RG4HRSwvt+z/ae+viDoe1d+ Qu7Ho6EjyR7PZeIMtvE9rLe97vl5MesO8sFGAR3oSQGTsZ5MaYGGtFjOOAVnGRM07NVA UMf92qW+MN7DXOI+1+r2OIb8dwug4ssjZYHyDrtftTuN5USXfRGFq2pZIi/ITtr8c41o GimrzIiUDLZfP8ZrkDLf3BV5vuktAr1HRDJxRJn+SjR41SNt4C5HgciPnj3LgiXPMUVy 3yeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3GYVEqyWRIb5M8DvqDeUYgwKR6PMorbc+DxpJvheRTc=; b=gSQzd5lpaSPrxsmEgRsM5fCqnXBBkXNDuLDPNraH0CW/qCrTfpnA8UL41y6memr9M5 guNnI8w2AqbfeiF8rj6IZqQpVlkbTS8BmUXGpUd+Kzms7HInFVBqcOzZruCjPvLMvoyP Kr00cwdql7oV93Ty0y9H3ga9pS/MC4lCK5R2AVXMyN9sGblR5anSy7ekCz89r31mJalw TGSFhQq2sqrSP0TgobCEgNeiGmFJOsJwg6ivVcBfOMMfGeeFJJgsAdWm4nLIgXZ8/7Jg sMF2EaOZAy7YMf7ikhFt+mDcM4SL+ZbbISzW74tWFeILJhjjSDLRl1rkCgySDkcYFFT1 Yemg== X-Gm-Message-State: ANoB5plOKjhvO3/9z1Pf8KC0iAypUKSIAwaqxEWtNJQsfbOpkug7o6WI qY+S8RxjXAXqcMIzEVXhX+MLMg== X-Received: by 2002:a05:651c:490:b0:277:5f7e:9cad with SMTP id s16-20020a05651c049000b002775f7e9cadmr5055715ljc.420.1668500252199; Tue, 15 Nov 2022 00:17:32 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id m4-20020a056512358400b0048b003c4bf7sm2112048lfr.169.2022.11.15.00.17.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Nov 2022 00:17:31 -0800 (PST) Message-ID: <09495553-e563-e12b-056e-bed95531ab6b@linaro.org> Date: Tue, 15 Nov 2022 09:17:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH v4 2/9] dt-bindings: rtc: mediatek: convert MT6397 rtc documentation Content-Language: en-US To: Alexandre Belloni 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 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> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/11/2022 09:05, Alexandre Belloni wrote: >>> 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. Then I propose to reference the rtc.yaml. Best regards, Krzysztof