Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2721562rwi; Tue, 1 Nov 2022 10:55:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6QYrx/q1j8Obd2RXjMHibBzoSzrM1GdHA5GkiV6BlX8BoNiA58STbsnbe2AJN9yKcnnA/G X-Received: by 2002:a17:907:7da6:b0:791:997e:58fc with SMTP id oz38-20020a1709077da600b00791997e58fcmr19858468ejc.385.1667325342905; Tue, 01 Nov 2022 10:55:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667325342; cv=none; d=google.com; s=arc-20160816; b=UhG5a1/cJu2IalpC992+UMvk4Tn1pupIpEdJQeZ61FollzuccaK8ZfvHn0FymhYPPF Pfx6yFJk10C7JsyY4tP9EDIaghH9cw6LZ546Bua2YBBJgZlRWSQfLI2jcCsA4pAMnK1t jsvCXjslQTtA4VbE3dhlAi8wydiriNryw8f+hCrJRKuTlCVrLg4YXXk83i3mrOljUfC2 1eY/x+es3NO3BaDQa2XWPouOesOPIgncf9vJmFfoqnZaM+MJAYwI/rGE73WDdiOxymau kWniZt5wQ3EIzXv/z2N4V/a3zdNF8Om7BXvTwGKBhL6bpk2YCs8w4xQt5x+Fbz2Fh+5D paWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Q+Ls5hOoEF5vV1UwprI+7+Povwzn6T3Z96X8+ae2PDs=; b=qYTEv2lAINwLL9gcNdiL46u/f5fPsAnegnvR6c7nRZQnQTfWOfv7RpSrm3YTbzktxX LnIORelhIQ0NdH1MV6SBFvyz//v8nZAZDLm8HRdH8MGYpfpRkCC4cctf616wtvqggnXu xTKqlddOwRvSfINiXb4KPYwEWKeI20xJw28fUJvR+kM9k6szR52wITsP07MEvlvYcZUD 2VFFPK/v+3HV3OqoMWGHtpfm360zAAybvgDp09Fa2umEPwEW+QwhFrNSjTMMeOzV6D8G 63UQOt/owv43wB9wfFPWMMAlolkQjbSEXl19lZ6aFDqi0cx41Psxbic19nGb14ro0egG FKRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=J0HsDOsl; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j10-20020a05640211ca00b004637e16cfa3si7915563edw.598.2022.11.01.10.55.20; Tue, 01 Nov 2022 10:55:42 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=J0HsDOsl; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229566AbiKAReO (ORCPT + 96 others); Tue, 1 Nov 2022 13:34:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230185AbiKARcV (ORCPT ); Tue, 1 Nov 2022 13:32:21 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FCD31C416; Tue, 1 Nov 2022 10:32:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 41BB0B81EA8; Tue, 1 Nov 2022 17:32:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EBF8EC433D6; Tue, 1 Nov 2022 17:32:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667323936; bh=eOjxTt1qzXYpd+vexpbm9/lLy1/vQDQwdcCuCWSj0Kk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=J0HsDOslmUL61WbPEA56amtuHWxp+nZ1i1E6yiLPJeZblYnRKfC0i9ZpOIdmQNtb3 jWruSl4BgReiqOHRbzVIk9r3KGePf0Tt/EM6NR6gm++9wTfCr9R8F+SpZUN/VCWmLg o8anPKsN8cf/zQ+hb9VVeTTejuUPXtHqb6N6dQnCUzPzbbuP8TUxMM4rciWWUsQ5gd THyo84rpDPnZZdlXALPdpT7KVi3t8GMW2H6MjxfKDgPAlrgsolxEdgxXBfVZUtj99P zMri+hT6IOAqi2ZKCGBsFnFQ+ZFgGXz6WtHFxvblsBJ8Z0ocNwtviKj+UQrZ4EW6jG kLwxE3lnp+phw== Received: by mail-lf1-f50.google.com with SMTP id g12so24448660lfh.3; Tue, 01 Nov 2022 10:32:15 -0700 (PDT) X-Gm-Message-State: ACrzQf3rOh6px4PBH6DcenVPghp/rmRNYrGhp0uatEopQyHaf/dfzDbD AwWRY6cCzzRaDFdeodNHHpyrY8GgV4GdgTfNOA== X-Received: by 2002:a05:6512:3e10:b0:4a2:48c1:8794 with SMTP id i16-20020a0565123e1000b004a248c18794mr7390625lfv.17.1667323934009; Tue, 01 Nov 2022 10:32:14 -0700 (PDT) MIME-Version: 1.0 References: <20221028225519.89210-1-paul@crapouillou.net> <20221028225519.89210-2-paul@crapouillou.net> <20221031192341.GA3270129-robh@kernel.org> In-Reply-To: From: Rob Herring Date: Tue, 1 Nov 2022 12:32:05 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/4] dt-bindings: rtc: ingenic: Rework compatible strings and add #clock-cells To: Paul Cercueil Cc: Alessandro Zummo , Alexandre Belloni , Krzysztof Kozlowski , linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, od@opendingux.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Mon, Oct 31, 2022 at 2:41 PM Paul Cercueil wrote: > > Hi Rob, > > Le lun. 31 oct. 2022 =C3=A0 14:23:41 -0500, Rob Herring = a > =C3=A9crit : > > On Fri, Oct 28, 2022 at 11:55:16PM +0100, Paul Cercueil wrote: > >> The RTC in the JZ4770 is compatible with the JZ4760, but has an > >> extra > >> register that permits to configure the behaviour of the CLK32K pin. > >> The > >> same goes for the RTC in the JZ4780. > >> > >> Therefore, the ingenic,jz4770-rtc and ingenic,jz4780-rtc strings do > >> not > >> fall back anymore to ingenic,jz4760-rtc. The ingenic,jz4780-rtc > >> string > >> now falls back to the ingenic,jz4770-rtc string. > > > > This is a compatibility mess. There is no driver support in v6.1-rc > > for > > ingenic,jz4770-rtc, so a new DT would not work with existing kernels. > > It > > sounds like you need 3 compatibles for 4780. > > Do newer DTs need to work with older kernels? I always assumed the > compatibility was only enforced for the other way around. For a stable platform, yes. Would you want a firmware update carrying the DT to break an existing OS install? Compatibility either way ultimately is up to the platform whether you care or not. I just ask that the commit msg spell that out. In this case, it is easily avoided. Rob