Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1230456pxy; Sun, 1 Aug 2021 17:41:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAnIaTfXl7s8ZoKnUpxn/FmP+027MSvTHUe4uyEXm40GnaJ2ExKEpP7BEKVBkqS/EGigt7 X-Received: by 2002:a05:6638:1907:: with SMTP id p7mr12365989jal.93.1627864877350; Sun, 01 Aug 2021 17:41:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627864877; cv=none; d=google.com; s=arc-20160816; b=X7qFZxfM8ipJpleLdA9kDfsqGwtMmxeWCJ17/czTiwR5bM5cb4cvBdQRrdfNqDNopT cmzQmAGc0eI8cgKJQhTiClVeR49MKwNYpwB1m92LQGkT2j9UiqF8oz/dVYwpC/uR/SbC ZZkwExeft/oTqexDaLD3vIFAdSIab+8QW+vUeTXqHeIvAzCkUxaNxNuYb2DeUPIws32K ExPfCkr6USKJk4wbzcKQ+oSlithXceixnl0A3O2ez99/BopJynEfqkQvtRv1/D4Bxbxu jAAdQYc/WhelPouaUigOffhCFHRoNYzEyOkzS0Ek4TmCIFl6wNiRsuhbsg6XFZ0fglZk roNQ== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=M421PZ8OZpt6B5IM9ZuIeCakJ8pDZxw3qoi1kb/lypo=; b=f72jZgpqwfYmD1gI+iaQ4BPXiCUSpG8pi9CAr15JbovY5DdmtooSJqp20iHR2CA1E8 lK3XIrrIEPA4yNWzq+IBsragIhOHHYiuUXNQWBH+DEe1hgGWr6y5ahI99F2KUbdsG6tU vwNryCu9L5l/PpD28xCpMPxO2+pCliiRSBtCHBl4GFnk9MYYdpsXUAzDTjIw2OPrkVuY ylEic32xe8c73/wcK5T/at5sFdvJAw2GfdIg4fngPcolDxErZ/q4ElTEPsC7Rw9fE5zQ IUg8Hp3lpv6+sq99ZuzeY7EN9WzjD+cjkz9FDOLWYAi8vKEXgBqLpMjGEWZczH5FPu9Y aoPg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q5si10896315ilt.55.2021.08.01.17.40.53; Sun, 01 Aug 2021 17:41:17 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231785AbhHBAjq (ORCPT + 99 others); Sun, 1 Aug 2021 20:39:46 -0400 Received: from foss.arm.com ([217.140.110.172]:56984 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231361AbhHBAjp (ORCPT ); Sun, 1 Aug 2021 20:39:45 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EB766D6E; Sun, 1 Aug 2021 17:39:36 -0700 (PDT) Received: from slackpad.fritz.box (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 51C8A3F66F; Sun, 1 Aug 2021 17:39:35 -0700 (PDT) Date: Mon, 2 Aug 2021 01:38:51 +0100 From: Andre Przywara To: Maxime Ripard Cc: Chen-Yu Tsai , Jernej Skrabec , Rob Herring , Icenowy Zheng , Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Ondrej Jirman Subject: Re: [PATCH v8 00/11] arm64: sunxi: Initial Allwinner H616 SoC support Message-ID: <20210802013851.13375f0f@slackpad.fritz.box> In-Reply-To: <20210726145230.uevhinsrvo7gtuty@gilmour> References: <20210723153838.6785-1-andre.przywara@arm.com> <20210726145230.uevhinsrvo7gtuty@gilmour> Organization: Arm Ltd. X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.31; x86_64-slackware-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 26 Jul 2021 16:52:30 +0200 Maxime Ripard wrote: Hi, > On Fri, Jul 23, 2021 at 04:38:27PM +0100, Andre Przywara wrote: > > Hi, > > > > another try on the basic Allwinner H616 support, now on top of 5.14-rc1. > > > > This time I dropped the USB support from the basic series, to split off > > the discussion, and simplify the core SoC support. I will post the USB > > series soon, to be applied on top. > > I kept the RTC support in, even though this is still under discussion, > > because this is important to keep future DT files compatible with this > > kernel. > > Honestly, I don't want to support something we don't guarantee if it's > at the expense of making something we do guarantee more complicated. I don't ask for or provide guarantees, but I think we can at least *try* to keep this compatible. This version works at the moment, and should also work with future DTs - within the limits of the current driver, so only using the RC clock. It allows to later improve the accuracy by adding better input clocks - and later DT/driver combinations can make use of this. > Delaying the clock tree description to sometime in the future will only > further complicate the probe part of the driver, and there's far too > many special cases already. I don't see how this would complicate probing beyond what Allwinner brought upon us already anyway: no LOSC crystal input in this package version, but having this pin in some other SoC sharing this die (according to some BSP) sources. We can't expect a super clean driver with those HW design choices. If we really cannot keep the DT compatible, fair enough: that's what it is (there is no guarantee!), but at least we have tried. Cheers, Andre