Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp691969rwl; Fri, 24 Mar 2023 00:09:02 -0700 (PDT) Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Uy30E475 X-Google-Smtp-Source: AKy350bSB5udqoYJyGb3UtJ8NqjgAFHSZsOGnbKhKQMh34F1IFTagcpAEfN1gUzMxrYhMpv1ZK1d X-Received: by 2002:a17:90a:bf0e:b0:23f:a810:c077 with SMTP id c14-20020a17090abf0e00b0023fa810c077mr1714916pjs.40.1679641742025; Fri, 24 Mar 2023 00:09:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679641742; cv=none; d=google.com; s=arc-20160816; b=qi2Pv9OiqUsrV6C0o/pz0YE7RqnuBcoC6NyjXX6AeSZO5ztel12x2OLSVOYl/O1rG7 1s+OiImOjYJdPLWh0u59ARDj5waSChCQxWSWlky5Rs3iVtD6DC3kgdPnJOHd3I5lPQH1 cQLaIalj4jBbNnJWex4X+pIDgTKC83/gJtguU/hDgYZLaqLVyN3tlznjEJ4JVH5u0Kuf /I5+kxogXyX4lutYbm5LuHXXTxpFx88yzmNUNAnHtIq7Mb89aVsWglk+8gCAvkrtckM7 QLYRys1NqEyv6+F1sBSmigUx+IjSx7UpcpEOZP+xac7FpBWKz1tQw8LXcXZ/fTkXU7a6 lhVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Xnaw5mz2wyPuH5yLZhWO18U1jupuIlW1Z0J42+7IHFM=; b=l+s2Qo8bBqPfCQJ6Sq5vcK9oaqOCq11ESqeO1ZqOl23s180DpWPkGbQMnxB5JIeOBL C1TR5QbaydEmy67izcDhYd23s5h+ZFiC3+PYDsUk32wkHQUZmT56VPrLezOjrcx5C6g3 3ActLijyWXqRfzpuUgW3Qr3U6qPtMUQxVX4PFVFNvL5OqZ27AyuJ2LBJBEUirfUeqSN7 kL5g3CaPRHkrY3lI1Z4uWSbL7ld0R3Sg7Wqrnne35an1EOeQI7M97gOfc7h/f37RsztJ w+WfRUTTXO8Nfzx1AvxCDn25LgzmZItjnEpR+zKgnEnM2GbVWKDnTng9iei8zu5XOp2d 2Mow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Uy30E475; 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 cm22-20020a17090afa1600b0023accb1a9e1si3595494pjb.167.2023.03.24.00.08.49; Fri, 24 Mar 2023 00:09:01 -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=Uy30E475; 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 S231418AbjCXGwz (ORCPT + 99 others); Fri, 24 Mar 2023 02:52:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230372AbjCXGwx (ORCPT ); Fri, 24 Mar 2023 02:52:53 -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 CA76124C80; Thu, 23 Mar 2023 23:52:52 -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 753F9B822AD; Fri, 24 Mar 2023 06:52:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66CBDC433EF; Fri, 24 Mar 2023 06:52:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679640770; bh=eAgzktUw36k84XyIpPeAFS22zFe2LwUnrI5YTkK3tLk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Uy30E47500cQwy4yveoh3p8sqXsEoe+5WtY81PxbQuING23HmwERsmB7HB8++fsRL 6tf9dyoa+9lOSJDTyt8wAonTHUJ0J2SrrJaC/GykO8O2X81R5HlxhLGQiOswPNt15v LBKYrhQ/4EyL5pWH9aYSkZf0utMxXoAMTpLO+bozn4KB0AlAclLd69fkP65H8p14bB dQ4qZmtsnGVZ6bOEqV+QlcvaokRXCD0k2xn1sCYyZj8BvIQfmiZGbrrSS4IhJH2lFf AeuQ51n2upKFnkTasj7teSd/zFmIgybVLp+nXod5NVPr4G+lsLl+ScgH1UzpcAA9Nh FeR0MtGg+uDTg== Date: Thu, 23 Mar 2023 23:52:47 -0700 From: Eric Biggers To: Neil Armstrong Cc: Krzysztof Kozlowski , Rob Clark , Abhinav Kumar , Dmitry Baryshkov , Sean Paul , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Lee Jones , Stephen Boyd , Manivannan Sadhasivam , Alim Akhtar , Avri Altman , Bart Van Assche , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , linux-scsi@vger.kernel.org, Luca Weiss Subject: Re: [PATCH 7/8] arm64: dts: qcom: sm8450: remove invalid reg-names from ufs node Message-ID: <20230324065247.GA9598@sol.localdomain> References: <20230323-topic-sm8450-upstream-dt-bindings-fixes-v1-0-3ead1e418fe4@linaro.org> <20230323-topic-sm8450-upstream-dt-bindings-fixes-v1-7-3ead1e418fe4@linaro.org> <9614782e-0d78-e8f2-a438-452cfa86f80b@linaro.org> <316d7d7d-b370-36e1-648a-400447d2dd47@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <316d7d7d-b370-36e1-648a-400447d2dd47@linaro.org> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 Hi Neil, On Thu, Mar 23, 2023 at 02:10:44PM +0100, Neil Armstrong wrote: > Hi, > > On 23/03/2023 11:49, Krzysztof Kozlowski wrote: > > On 23/03/2023 11:25, Neil Armstrong wrote: > > > Fixes the following DT bindings check error: > > > ufshc@1d84000: Unevaluated properties are not allowed ('reg-names' was unexpected) > > > > > > Signed-off-by: Neil Armstrong > > > --- > > > arch/arm64/boot/dts/qcom/sm8450.dtsi | 1 - > > > 1 file changed, 1 deletion(-) > > > > > > diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi > > > index ef9bae2e6acc..8ecc48c7c5ef 100644 > > > --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi > > > +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi > > > @@ -3996,7 +3996,6 @@ ufs_mem_hc: ufshc@1d84000 { > > > "jedec,ufs-2.0"; > > > reg = <0 0x01d84000 0 0x3000>, > > > <0 0x01d88000 0 0x8000>; > > > - reg-names = "std", "ice"; > > > > This is also part of: > > https://lore.kernel.org/linux-arm-msm/20230308155838.1094920-8-abel.vesa@linaro.org/#Z31arch:arm64:boot:dts:qcom:sm8450.dtsi > > but I actually wonder whether you just missed some binding patch? > > I'm aware of Abel's RFC patchset to support shared ICE, but this is a cleanup of the current DT, > and the current bindings schema doesn't document reg-names. > The ufs-qcom driver accesses the "ice" registers by name, so the reg-names can't be removed from the device tree. A few months ago there was a patch to fix the device tree schema for qcom,ufs to include the reg-names. It looks like that patch got missed, though: https://lore.kernel.org/r/20221209-dt-binding-ufs-v2-2-dc7a04699579@fairphone.com - Eric