Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1317359rdb; Sat, 23 Dec 2023 02:06:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IFNUEIlecgSom00srwg4Ex7KuUeuj5YN2ibY1PrT9mYzwDP9bop9oj7lfJ9wdDlzP2ZlK8J X-Received: by 2002:a05:6512:3f26:b0:50e:4ebe:ca46 with SMTP id y38-20020a0565123f2600b0050e4ebeca46mr1291436lfa.78.1703325987039; Sat, 23 Dec 2023 02:06:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703325987; cv=none; d=google.com; s=arc-20160816; b=aDpnRxXmjhak+2CMW3XafkQUi5uZeQDFGETJjDlWJxhbLEumN6pwOhnZNbBZ+LLYdJ TytAeRS3/RpYlMj11gtzZJm/sMp64h1cUCm5SqBrtx4u68Lu/jcTePwJqnv7cErG9SXD aIeQ14ef0nZ8sKGWD/gY+UqF2xnthgSkf4mxZQSTbuYDNAJTSAutGCFbQlyPlHn+2ocS 234ffNgufZw9Wl7t/WTHGYn/SqkzhS986O2nb75wBRn0HWzi4eeNtrgEaV870S5xlaNY Yttc4wEXBBuJtyx9w0JhM8SjwEx8ocwf2rQ4STMGpOFrrqNMqQFkRU3nEp0vkjzr3NSA DVog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=A3ycyWTBajQnJsjcF9WYkiyN59WPkKLViyNv/IMfH38=; fh=swJw9GVWHt9Rki0v1u8g7cqFcA1oVM+I1Wj/JRQzNVU=; b=HLYxbadRMROALSSv1Pc6UjRa5fx4DnXIJXH6cvnR61ckUhiAjCOnHloXPY9GY+9tTQ tKBwLx/OigskHLJMbRfZPv+R5ijwXkZ/uEn3RMX4Ee123j5Lyb+xpi2jWQzl4aVNm2Jq YIiKddahKlNAm1lV4GYsJYmC0XUXnCVp8I0oFFzTKN4+5rEmdtn3P9dZWBMYCqoYVath UYr6NBGxWAauy6vw7qcIhkh3tf4blsTcnoBJlba9ambWyDoIPmlvS2cX4GedxFs2qnrx N3z5eNbBruqDJUuic/4DsKlAUlJdPJuk+wbV4w9/Q0aaOgOenyFwAgv+rgR+zz1cUQo4 Wm8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=KsFZZxp+; spf=pass (google.com: domain of linux-kernel+bounces-10377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10377-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id vl15-20020a17090730cf00b00a2357a32219si2398579ejb.225.2023.12.23.02.06.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 02:06:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=KsFZZxp+; spf=pass (google.com: domain of linux-kernel+bounces-10377-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10377-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9F5F21F22A9B for ; Sat, 23 Dec 2023 10:06:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B435CA5F; Sat, 23 Dec 2023 10:06:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=maquefel.me header.i=@maquefel.me header.b="KsFZZxp+" X-Original-To: linux-kernel@vger.kernel.org Received: from forward501a.mail.yandex.net (forward501a.mail.yandex.net [178.154.239.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D30BECA48 for ; Sat, 23 Dec 2023 10:06:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=maquefel.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=maquefel.me Received: from mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:429:0:640:5a1a:0]) by forward501a.mail.yandex.net (Yandex) with ESMTP id DA6516143E; Sat, 23 Dec 2023 13:06:06 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id 36N4Fpsm5Cg0-WtRmrpap; Sat, 23 Dec 2023 13:06:05 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1703325965; bh=A3ycyWTBajQnJsjcF9WYkiyN59WPkKLViyNv/IMfH38=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=KsFZZxp+DAMTBwZiy71wXED/drennhqFuea/IulxHyHM07TdynMaM07WDf9/wN8Lt I4YzEcZk7kQfGL4GKktlFrIPzhX2lTIjLsK6SathnhuhrPorwGqMKGkEglqvr0w89H OH7zHZ62oleV38BQJRHUbcxSERVVR8bRYTolqm/g= Authentication-Results: mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net; dkim=pass header.i=@maquefel.me Message-ID: Subject: Re: [PATCH v6 08/40] soc: Add SoC driver for Cirrus ep93xx From: Nikita Shubin To: Andy Shevchenko Cc: Conor Dooley , Ulf Hansson , Joel Stanley , Walker Chen , Jonathan =?ISO-8859-1?Q?Neusch=E4fer?= , Huisong Li , Arnd Bergmann , Wei Xu , Emil Renner Berthing , Linus Walleij , Alexander Sverdlin , Hal Feng , linux-kernel@vger.kernel.org Date: Sat, 23 Dec 2023 13:06:04 +0300 In-Reply-To: References: <20231212-ep93xx-v6-0-c307b8ac9aa8@maquefel.me> <20231212-ep93xx-v6-8-c307b8ac9aa8@maquefel.me> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Wed, 2023-12-13 at 20:37 +0200, Andy Shevchenko wrote: > On Tue, Dec 12, 2023 at 11:20:25AM +0300, Nikita Shubin wrote: > > Add an SoC driver for the ep93xx. Currently there is only one thing > > not fitting into any other framework, and that is the swlock > > setting. >=20 > ... >=20 > > +/* > > + * SoC driver for Cirrus EP93xx chips. > > + * Copyright (C) 2022 Nikita Shubin > > + * > > + * Based on a rewrite of arch/arm/mach-ep93xx/core.c > > + * Copyright (C) 2006 Lennert Buytenhek > > + * Copyright (C) 2007 Herbert Valerio Riedel > > + * > > + * Thanks go to Michael Burian and Ray Lehtiniemi for their key > > + * role in the ep93xx Linux community >=20 > Missing period. >=20 > > + */ >=20 > ... >=20 > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include >=20 > Isn't this an incorrect header and should be auxiliary one? This is still a platform driver, pinctrl, clk and reset are auxiliary ones. >=20 > > +#include > > +#include >=20 > + spinlock.h ? >=20 > But since it's a new code, why not cleanup.h? >=20 > > +#include >=20 > ... >=20 > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0enum ep93xx_soc_model model = =3D > > (int)(uintptr_t)of_device_get_match_data(&pdev->dev); >=20 > int? >=20 > Maybe >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0strict device *dev =3D &p= dev->dev; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0enum ep93xx_soc_model mod= el; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0... > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0model =3D (enum > ep93xx_soc_model)(uintptr_t)device_get_match_data(dev); >=20 > ? >=20 > ... >=20 > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0struct device *dev =3D &pdev= ->dev; >=20 > Ah you even have this already! >=20 > ... >=20 > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0dev_info(dev, "EP93xx SoC re= vision %s\n", attrs->revision); >=20 > Hmm... Is this message anyhow useful? >=20 Can we keep it please ? It makes us happy when we see it in logs for historical reasons - it's been there since 2.4.