From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DADCC433F5 for ; Thu, 30 Dec 2021 04:40:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236013AbhL3Ekn (ORCPT ); Wed, 29 Dec 2021 23:40:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235723AbhL3Ekl (ORCPT ); Wed, 29 Dec 2021 23:40:41 -0500 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAE14C061574 for ; Wed, 29 Dec 2021 20:40:41 -0800 (PST) Received: by mail-pf1-x435.google.com with SMTP id 205so20434862pfu.0 for ; Wed, 29 Dec 2021 20:40:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6a2eJMjdkb7q3Rq0byPqY41/G2oYARLL3kUgQBTOqL4=; b=QrCYs10P515dtKvYAEfAwBEzCcQqgship5StVjOHbtD8s0Gc/Aq709WSzPoSaoxd3f 2tJ8ChHK2wj7hWzSOJfhIEdMd9VK7H/E0o6tBlOqvDn8z9KcDnxAOPgRlJqj06SwWzGD 7uZCssknxMVJIcI0RSGRmYskHewBRBOWrmAbY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6a2eJMjdkb7q3Rq0byPqY41/G2oYARLL3kUgQBTOqL4=; b=21yY7tXLpogd9kRri5lYztTAKNA7y0trlzSEGOD3YB9YPSfTkfxyVsq1fhVBbgtV4O VI9vIoIH8oapVPsxIcF+NGykHAtz3sVTfL1iWAGqYbBVWpvcm5kmffm3LI5rgX4ENk0E zH1oa+xW7yR/ePKH92grhUJMrRYWPWrzC+m4wDIfSYRB7BC+v2Qk8dTuOXktMOJkKYST 7/7TBO5fhAH9Wrr9qcxtb8atTnb44R4jmHmiOFD+tKzItPYbULQQkfktg7f/bzsd0x4z GwHsMdmtk3gIXaUW6EAFAAVZhYGj8ZkpGTmfQ51PZTYAKlHcupCC0uwiwfAhzSEtYLEN yIlg== X-Gm-Message-State: AOAM531+Mpwo8lX6DfMaG8vDC9GRYiiHd1csWleAffqlrfJCa/T3+MDX MuM4JelghjfYq2xhNujtokfa3w== X-Google-Smtp-Source: ABdhPJyu7WVgvRa8SHTVMU6I6eqvQmRe6SiRLcyrWEhuZAEximWE0zNJmp5wcEOizd5OTD58vupQhA== X-Received: by 2002:a63:5403:: with SMTP id i3mr26054724pgb.562.1640839240178; Wed, 29 Dec 2021 20:40:40 -0800 (PST) Received: from shiro.work ([2400:4162:2428:2f01:7285:c2ff:fe8e:66d7]) by smtp.googlemail.com with ESMTPSA id f16sm27246772pfj.6.2021.12.29.20.40.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 20:40:39 -0800 (PST) From: Daniel Palmer To: a.zummo@towertech.it, alexandre.belloni@bootlin.com, linux-rtc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, romain.perier@gmail.com, Daniel Palmer Subject: [PATCH] rtc: msc313: Select by default on MSTARV7 Date: Thu, 30 Dec 2021 13:40:27 +0900 Message-Id: <20211230044027.2739732-1-daniel@0x0f.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All of the ARCH_MSTARV7 chips have this RTC so it's more likey ARCH_MSTARV7 wants it than doesn't. At the same time fix up the indent on the depends on line that looks like it got converted from a tab to spaces at some point. Signed-off-by: Daniel Palmer --- drivers/rtc/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 058e56a10ab8..9acd4ea267df 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1924,7 +1924,8 @@ config RTC_DRV_WILCO_EC config RTC_DRV_MSC313 tristate "MStar MSC313 RTC" - depends on ARCH_MSTARV7 || COMPILE_TEST + depends on ARCH_MSTARV7 || COMPILE_TEST + default ARCH_MSTARV7 help If you say yes here you get support for the Mstar MSC313e On-Chip Real Time Clock. -- 2.34.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4E64EC433EF for ; Thu, 30 Dec 2021 04:42:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=/FjFwivpPWagb2mzYnGjKg0cRiDZm7AxU+xWbVSoGc4=; b=kTChsq/L2CdtIr ZizwqjHHtGcIPl7WBrhbCtpC9SqBlu71D37CTTGXREkyk9YAdYCQwOwwWUnPM97zuDP7Xx2hEAFpS MvZ3GMTw/0bLHhFYdSufpxGu3djCaj2o3lnZLjJxrpmV4wGEZaSJoO345IrlX57nIF4mI+8S3lBjS 7cKZiwtzWZwMqztIZx09yRRClBfMDzQRAaE/JuAeAmJ/llOO4wLKyG5eH6BzgzPDXDHYx3/4O4LWJ wu/LlPoByGO6PuOVB1kVf+oqGeEt82fohXzFZdkCuz1+6LhtjZbi7agfsK+OjIpBGVtx0nDaE99is 6gJ4zXIomcLO0UXEm1rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2nF7-003ebG-Ah; Thu, 30 Dec 2021 04:40:45 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2nF3-003eat-Td for linux-arm-kernel@lists.infradead.org; Thu, 30 Dec 2021 04:40:43 +0000 Received: by mail-pf1-x435.google.com with SMTP id c2so20379043pfc.1 for ; Wed, 29 Dec 2021 20:40:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6a2eJMjdkb7q3Rq0byPqY41/G2oYARLL3kUgQBTOqL4=; b=QrCYs10P515dtKvYAEfAwBEzCcQqgship5StVjOHbtD8s0Gc/Aq709WSzPoSaoxd3f 2tJ8ChHK2wj7hWzSOJfhIEdMd9VK7H/E0o6tBlOqvDn8z9KcDnxAOPgRlJqj06SwWzGD 7uZCssknxMVJIcI0RSGRmYskHewBRBOWrmAbY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=6a2eJMjdkb7q3Rq0byPqY41/G2oYARLL3kUgQBTOqL4=; b=1H4MAffrIhOF2FSE83mcN2uNWbSGdp7dIGPvh29a5oyB2htlZJb/SVVMz8Kv+iBi4H WaHdm1UF0cCSIOCyVQFdbQmTI7E+orm4n9KKilHi5lW+5KFWTI/tp7qkhbk9cDjGYwMx qD3HC1el8fd1R6ScLUMJv1Aeq0T6eh69N5YzsxjXrncbpFX49kfsm8W2PPBJHSwZurET D+aebJL1F2Ff5kTg9fUeZ6Q12uwdVWyRExBAqcBy8nSUE9eZMJLYaPASnD5AWIjBUaGK L9pbJSLgTGtXvBLvQhYU5oTOz3vyHmjKBADLO98gS/sTeJHLUgP4gOFdr9JRHj+JWxU+ r+jA== X-Gm-Message-State: AOAM531Wzs81SHsATy39V4cVuN2L5yWzj46KgWPRjqDGGnCpCkSU4WsV HS9Vnb4JtQqODxVv6GOp3YX+2A== X-Google-Smtp-Source: ABdhPJyu7WVgvRa8SHTVMU6I6eqvQmRe6SiRLcyrWEhuZAEximWE0zNJmp5wcEOizd5OTD58vupQhA== X-Received: by 2002:a63:5403:: with SMTP id i3mr26054724pgb.562.1640839240178; Wed, 29 Dec 2021 20:40:40 -0800 (PST) Received: from shiro.work ([2400:4162:2428:2f01:7285:c2ff:fe8e:66d7]) by smtp.googlemail.com with ESMTPSA id f16sm27246772pfj.6.2021.12.29.20.40.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 20:40:39 -0800 (PST) From: Daniel Palmer To: a.zummo@towertech.it, alexandre.belloni@bootlin.com, linux-rtc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, romain.perier@gmail.com, Daniel Palmer Subject: [PATCH] rtc: msc313: Select by default on MSTARV7 Date: Thu, 30 Dec 2021 13:40:27 +0900 Message-Id: <20211230044027.2739732-1-daniel@0x0f.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211229_204042_108834_BAA8ED8A X-CRM114-Status: GOOD ( 12.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org All of the ARCH_MSTARV7 chips have this RTC so it's more likey ARCH_MSTARV7 wants it than doesn't. At the same time fix up the indent on the depends on line that looks like it got converted from a tab to spaces at some point. Signed-off-by: Daniel Palmer --- drivers/rtc/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 058e56a10ab8..9acd4ea267df 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -1924,7 +1924,8 @@ config RTC_DRV_WILCO_EC config RTC_DRV_MSC313 tristate "MStar MSC313 RTC" - depends on ARCH_MSTARV7 || COMPILE_TEST + depends on ARCH_MSTARV7 || COMPILE_TEST + default ARCH_MSTARV7 help If you say yes here you get support for the Mstar MSC313e On-Chip Real Time Clock. -- 2.34.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel