Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3120344rwb; Fri, 20 Jan 2023 11:27:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXtsI18t25EkiPi/6PjJ8zn2DRZLcrWxw+QQkK/med1w7KUFJ1p4BdIswMYfhgMPP1EepciX X-Received: by 2002:a17:907:1621:b0:870:34c:97df with SMTP id hb33-20020a170907162100b00870034c97dfmr29498419ejc.4.1674242826228; Fri, 20 Jan 2023 11:27:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674242826; cv=none; d=google.com; s=arc-20160816; b=zib+M19Ea+yXNfnEdL4OpVmTZIauRJvues1/UgwynhvmbCMWh/LItEFKSaNao9Wc6H WAamsmpmQXA4pjPIULWdvNpQlYx50CinjjKO9h+1RLspp0gbMusU/k4QU+Y4bJJngglP KZA8TiOhMuhdWqpG0Y3kcWxK0KbqqfSOsqEaZ5FDE34a6klyzQmDGXrRQXmV+x8bslFU vYt+Ti47s+LVQXbdgmexOZqpin3c5iPEm1nEtu+sSdqZo5PKH6yLttQ2ZA3/oWfrLQuu 5ythh+3HEkfg5GoiKJMd+dQT2/UaTVecLI7xMG0q8xDCa9InXroybM47aUM6XMxVeaL9 F8iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ty2vaSJYfWXnQKh12ga3jGSjJvuvI1UeShBRy78Xdwc=; b=ULiWAhW2Y7WVeF5l0vkBZm4tGvtzU4EHJFbWBTO28J9Bpn+GYrpibmzLcs/KhvxZhc +vCjCbLI9/FBbeHhfZTfwbECiX4y5qlayxpLOvrg1kqksjVXpauBWlGqDHbFiXXK8YDF iVAxn1n9JujdeKVQyuFRHJbUmHtm1BV7tTzSn1DujzSlBKtr2OMnz/wgplGQ+U2Ji2DS 3c1+OChJr/F/yDbD8Jm0h90x69ixZVqr7YBJWJVrzEvyjWbfJUkWcS85+FW4+ljE/78L nKdLb2ygTV0aVTpk09sVNz9f7g27ba2UBAI1jU+naACpEdkARw1qlpfvDzXZ/s+pXeag GJuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=LTAzPNF1; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp23-20020a1709073e1700b00870e0c1f5b6si19775799ejc.370.2023.01.20.11.26.54; Fri, 20 Jan 2023 11:27:06 -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=@gmail.com header.s=20210112 header.b=LTAzPNF1; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229673AbjATTCZ (ORCPT + 50 others); Fri, 20 Jan 2023 14:02:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbjATTCY (ORCPT ); Fri, 20 Jan 2023 14:02:24 -0500 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 30D497EF1; Fri, 20 Jan 2023 11:02:23 -0800 (PST) Received: by mail-il1-x136.google.com with SMTP id h10so995546ilq.6; Fri, 20 Jan 2023 11:02:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ty2vaSJYfWXnQKh12ga3jGSjJvuvI1UeShBRy78Xdwc=; b=LTAzPNF1017FDGxs/KdhLIXruwcqk2UsjeXOJIy8s75ZAc5J7k3/GLf01h+Tsv00j/ 0UsHrctRRg+9Ze95HIOjiC4z9Owz5fYyMRbRq6VWNLKOfPsh0TQx8Mwc4cGeX5iejDl7 BUO32yalPHzhWBI9casVX99GKgCkHF2ZdzQjvqggU8ZLKghPyua9P+bqttA7fU9aeP/X A3bqvwusl9Qqgj+n+g4I8yUT0oAfDVe4DNPSWI5qnMTJMW2106m+u8kVcSahQgeJKOlj N5nUaMi0rOKsCSGw/SVCsarbxrc+eNXVZ6MdUfEf9i4H9nmQiKWjKnHubbZHakEnedsD YhgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ty2vaSJYfWXnQKh12ga3jGSjJvuvI1UeShBRy78Xdwc=; b=osOa4rXR8WXvd1YqmjeAIFizuM/Zk4eVW6qU/BMuRlPsArz1YeHnac8CQySdKNXW4A rFKnwTeI7RLCp8mcv7Z8IVUHawDTjc7JmPSU+5MMt+2QQIj5aj+9qQ6DljRCpzFfGnyD Bpdpc7c+d3+ldM212adtSf6v1XXUWYRKUguG5bsO0o28ZMBSgkPUHnqg6V9OmqaMmfLK mn7akWzEQ8ASqe1RCZwqaBB9r/HI1zAg1fcO+Y+lbVt1SMEndWIO6TTVpkK8SaTVAwQa GOfXVh+geqCp4q6u09Z+IuqR9Cw4ZTrG+muXCKIy7hZxJhwwoCITiwy0JF6i80pg/zKT KSBQ== X-Gm-Message-State: AFqh2kqZIestd81DRJz37mN1dzg1Wk24Vp3R8Yicy9z38APiaAvKguVN 8al0OMnVpSRhvSBy55AAigk= X-Received: by 2002:a05:6e02:1562:b0:30f:3736:25ab with SMTP id k2-20020a056e02156200b0030f373625abmr8463067ilu.28.1674241342553; Fri, 20 Jan 2023 11:02:22 -0800 (PST) Received: from stbirv-lnx-3.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id y13-20020a37f60d000000b006fa2b1c3c1esm10379806qkj.58.2023.01.20.11.02.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 11:02:22 -0800 (PST) From: Doug Berger To: Alessandro Zummo , Alexandre Belloni Cc: Brian Norris , Markus Mayer , Rob Herring , Krzysztof Kozlowski , Florian Fainelli , Broadcom internal kernel review list , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Doug Berger Subject: [PATCH 0/6] rtc: brcmstb-waketimer: add RTC alarm irq Date: Fri, 20 Jan 2023 11:01:41 -0800 Message-Id: <20230120190147.718976-1-opendmb@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Support is added for an interrupt that can be triggered from the brcmstb-waketimer hardware while the system is awake. This interrupt allows the driver to pass the rtctest selftest. Doug Berger (6): rtc: brcmstb-waketimer: introduce WKTMR_ALARM_EVENT flag rtc: brcmstb-waketimer: non-functional code changes rtc: brcmstb-waketimer: compensate for lack of wktmr disable rtc: brcmstb-waketimer: rename irq to wake_irq dt-bindings: rtc: brcm,brcmstb-waketimer: add alarm interrupt rtc: brcmstb-waketimer: allow use as non-wake alarm .../bindings/rtc/brcm,brcmstb-waketimer.yaml | 22 ++- drivers/rtc/rtc-brcmstb-waketimer.c | 152 +++++++++++++----- 2 files changed, 130 insertions(+), 44 deletions(-) -- 2.25.1