Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1604273pxu; Sat, 12 Dec 2020 19:54:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJzgJUvkjq5mjcYEvb/wONnnOuYEYV4u9hrA4V3vg7sTzFsS3hLsR1yxmFbcSr5l8YrGMgL9 X-Received: by 2002:a50:b586:: with SMTP id a6mr19051482ede.206.1607831692513; Sat, 12 Dec 2020 19:54:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1607831692; cv=pass; d=google.com; s=arc-20160816; b=PoaO7ihEtPDlTS+Mrzp3RPRKivnquy8VZAF9iXQg8IV8q0gwUeQunSgXZTwHhs3n30 o6BuXYKC4jV+eK3qMh9dp0FytPTinSKhbgA16PsCT1L0uxhJaCaqaSp0YoPydI0Ox3P1 5DjOEr2bLceYsF1EK7CWimUtyB0rdCKF855DTwepZMNb0qtzB9TVmPLukAHC5gkX54J2 CNqfhlM7/nDaSmYOxKlRAP1TVov7e4ubqYBMgcAtV+YrRsuPtqNJn5Y+XnQJLLBjvMhh U6GOBIogBxcnkmj1bVHYfKY7ZwL8nK/MqXRVr05z6W/Omfic1M5CPbLpfXn8ICgU4u2d e4XA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UWXEPWZAKBTBsFsDi583sb5okJops5VMJ2QVwvpfrEc=; b=zHCHnZSukb1mZhIhScBdvxHFCgITmRqaNQkIrBU06KBW2G8152cYrmGfWDRi6ee8c6 TYrAJWJZTe+l4/WjwOJwDd1gvtQKf0V+5eLOuzVbGxqwZo9Pd8HZJ11aT06Quj5JKZwr d4VAkAupdcfkUUjW+Rr/gHUuL6QIvzxyYYO6CYnnfBM8d3KFpQCCMf3/HgRc5NYGNo8l /4wseNbXFvA0u9PrxPTITqrlxKkdbeg/ZGeRt01UBZn+UPdaYkMRTJ/GMzxDnzgEogyl RiMi7X4OUhN5oTvGSrv8x+l7sFWTcibVeLxWo0/8q/B2m+cmGdcsMnqwnfQHRfiOzej0 +AxA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@prevas.dk header.s=selector1 header.b=YcJPM4Rt; arc=pass (i=1 spf=pass spfdomain=prevas.dk dkim=pass dkdomain=prevas.dk dmarc=pass fromdomain=prevas.dk); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=prevas.dk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o3si7172258ejn.637.2020.12.12.19.54.30; Sat, 12 Dec 2020 19:54:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@prevas.dk header.s=selector1 header.b=YcJPM4Rt; arc=pass (i=1 spf=pass spfdomain=prevas.dk dkim=pass dkdomain=prevas.dk dmarc=pass fromdomain=prevas.dk); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=prevas.dk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391584AbgLKV5m (ORCPT + 99 others); Fri, 11 Dec 2020 16:57:42 -0500 Received: from mail-am6eur05on2117.outbound.protection.outlook.com ([40.107.22.117]:12449 "EHLO EUR05-AM6-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2390485AbgLKV5J (ORCPT ); Fri, 11 Dec 2020 16:57:09 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SQ3CI+YNN+t9mDvs4iTX+W/7NsGoSMx3Gn5W+EUSo+SywqWHEWmrV+KTkaYgRAtmf8I7fRTbWlOsNbyT7I3FV8iJKaW1rVdiIhODNnDXbnm5wQumHqrih+h4XXBw5E0IYTkxzwIZ17Avq+9ieXLckl2MRgKWNZS+RM5+yYpu//qjng2ZZWZaJ5XOcjuMbUmecaMHhdhOIRM2TMa47pqm+A2txhBAT/h4cNU8xUV1xwT4Mb0bQ4QuuTMAjpk0VXd7IA0i5WtUO55NbxdGlsh1sZAnSLGTqbqxLow1MYSFaCKUpUIE7Ubn6FBixfQ9eMmKC5Md5AIQe3ikZA7nwp7HxA== 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-SenderADCheck; bh=UWXEPWZAKBTBsFsDi583sb5okJops5VMJ2QVwvpfrEc=; b=EsG4RtNPi90SITJUO3u2Bp0YfQZHLdRFnQ/xDlmNFTGvicFufyEbub9uVBKXB7tdfa0Xi03fDyk2NhWOd77hui3vj/v1PbnjHsImBn/dC5bJQs0vss84xrrCHDMSbavBizyzBzNkvFMrIAampLs4MJL5HmxY6/mrp1v4FkfFQ3YMhQNViYTghDrxr6GQSVFMjb6npdbVXsq7FJHZSdFl0OHUsQDMKoHcXUQi124DxA+cxzWQ+Hg6qa/bXRNOCqmKypyNt0pQC5jGnfSNpYGcWrF/EsMxI8PxpKBbFfR8uxRhujgEDNixFMTgv9+7WzBj4UX77bux3e51BE4sJQNkyA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=prevas.dk; dmarc=pass action=none header.from=prevas.dk; dkim=pass header.d=prevas.dk; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prevas.dk; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UWXEPWZAKBTBsFsDi583sb5okJops5VMJ2QVwvpfrEc=; b=YcJPM4RtIuO1WL18Ygm6kT2i5NXEl9ScTJH9RzXUeE/HKOgljEEo7/a1zIUuBtRjuMliP51XoZJXmp1LVr4J9vp86WxApUBUCJ4HgKJHYJzVC8sLma8OiBk02DVCXvOTcRsoCu9Tm5hv1OVlrX381caAbhK+p1imcUoiOp1ebYo= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=prevas.dk; Received: from AM0PR10MB1874.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:3f::10) by AM0PR10MB2867.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:157::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.22; Fri, 11 Dec 2020 21:56:20 +0000 Received: from AM0PR10MB1874.EURPRD10.PROD.OUTLOOK.COM ([fe80::9068:c899:48f:a8e3]) by AM0PR10MB1874.EURPRD10.PROD.OUTLOOK.COM ([fe80::9068:c899:48f:a8e3%6]) with mapi id 15.20.3632.026; Fri, 11 Dec 2020 21:56:20 +0000 From: Rasmus Villemoes To: linux-rtc@vger.kernel.org, Alexandre Belloni Cc: linux-kernel@vger.kernel.org, Rob Herring , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Qiang Zhao , Bruno Thomsen , Rasmus Villemoes Subject: [PATCH v2 0/3] add reset-source RTC binding, update pcf2127 driver Date: Fri, 11 Dec 2020 22:56:08 +0100 Message-Id: <20201211215611.24392-1-rasmus.villemoes@prevas.dk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20201204092752.GE74177@piout.net> References: <20201204092752.GE74177@piout.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Originating-IP: [5.186.115.188] X-ClientProxiedBy: AM6P192CA0068.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::45) To AM0PR10MB1874.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:3f::10) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from prevas-ravi.prevas.se (5.186.115.188) by AM6P192CA0068.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:82::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Fri, 11 Dec 2020 21:56:19 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cdea7115-e9c7-40b1-a06e-08d89e1f9821 X-MS-TrafficTypeDiagnostic: AM0PR10MB2867: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2089; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: I9WXhOdG2GWsP6XRjJUk/kfvmensCsPKyS6ftTIdViixCMtTNJBgwhvZyOldObSFUQZxrtM0e0ARO9zcPptEMxbzfvuCSfeafPh+esCU1HKQai8WszS375wl25wtNS40hJD+9+Yk9sfoiRGN/Ff8D2pOa2rMdZfHiJ6w8mQnsL+MPBpAvOBTOsxuJ/3h/Hji8POUrGx6uUO+FWz8MKnNwL6bVoHRFsnD+FJsVoLjepS77qt9sDhQ9326zMBrCZ+Cx9V8it/QV5CGtnW6nxMfjnU7lmuuxQDWHw1A9wp1s0gtPCpl/fywAFJPCAQV45gS X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR10MB1874.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(396003)(366004)(346002)(136003)(376002)(39840400004)(6666004)(83380400001)(8976002)(66556008)(6916009)(2616005)(4326008)(186003)(107886003)(8936002)(52116002)(66476007)(36756003)(6506007)(54906003)(16526019)(66574015)(8676002)(478600001)(5660300002)(86362001)(66946007)(44832011)(2906002)(6486002)(6512007)(26005)(956004)(1076003)(316002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0VEamtu?= =?utf-8?B?aG1TNi9Ob3ZwZEJxTTI5Sk1MaGZkaXFmeXF3OGFCUENRVGQvaDlmQkZ3L1NU?= =?utf-8?B?ekFOTldQVHdDM2lTbHM1TkxlYlBYTHF0TWFoRUlMODBldzdORTZ6djg4OGIw?= =?utf-8?B?TWFpUlFMMmIrRXR6YkdpVlJhM01SbDBzb1EzSXh3Y3A1YmpjanFwU3pHKy9t?= =?utf-8?B?Qzc1ZlZJNFFRMWQxLzRyTzhNNzl4bGxOVFY5SnBBZ0dwc3RtaVRod2VrcVND?= =?utf-8?B?dTRncEFQQTZ6OGQwWUN1QWRNbUl5YURpQlBkYUk1Z3JNOVVkaTA0dFk1TE55?= =?utf-8?B?dnBoTFBPMkYxa2JuVDZ1ZFlhUVBscllKK3UzbmdoZS9XQ3VZR3BaYjVhS1Jh?= =?utf-8?B?RmpmeVZaOXBHL2pJcU5SR3paOG52RllrdkNQQXNJWm9ONEI2RU0vdTZwWktJ?= =?utf-8?B?M1p2ak5SQVpOQ1Vua3RWeHB3WmRDWElHMU0wb1lzUkM3MXRtOFJBWmVZaFdi?= =?utf-8?Q?1DnGaOVFaf6XHUgdtgiQd0u+jF2ZhvPxBP?= X-OriginatorOrg: prevas.dk X-MS-Exchange-CrossTenant-AuthSource: AM0PR10MB1874.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Dec 2020 21:56:20.5511 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: d350cf71-778d-4780-88f5-071a4cb1ed61 X-MS-Exchange-CrossTenant-Network-Message-Id: cdea7115-e9c7-40b1-a06e-08d89e1f9821 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: oqFzbW3iK9kTGyJdUZzP2tNroh+CoEQlhMdZ2pRr/YCwOqYufGOsm/vS1GkTxeQR/YMGdJmBrqu1prIPWmRXy02hd4x9MeLX+bmEJqsIGjI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR10MB2867 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a resend of Uwe's pcf2127 patches, prepended by a dt-binding patch adding a reset-source property, as suggested by Alexandre. Rasmus Villemoes (1): dt-bindings: rtc: add reset-source property Uwe Kleine-König (2): rtc: pcf2127: move watchdog initialisation to a separate function rtc: pcf2127: only use watchdog when explicitly available .../devicetree/bindings/rtc/rtc.yaml | 5 ++ drivers/rtc/rtc-pcf2127.c | 55 +++++++++++-------- 2 files changed, 37 insertions(+), 23 deletions(-) -- 2.23.0