Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp234410pxx; Wed, 28 Oct 2020 03:38:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8tkYiQ48hUNM9a0uCD+Wo/JMSrRsSOY4Zff4WPHFBEfpSPyhHOEYhmFYPEAXTyEU5Unma X-Received: by 2002:a17:906:8157:: with SMTP id z23mr6556688ejw.274.1603881515451; Wed, 28 Oct 2020 03:38:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603881515; cv=none; d=google.com; s=arc-20160816; b=Z2UTFNeuwMF0vB1w6xRbgk5sv9IYvMq1bLXwOflUHLeAVTqfEqfgrSsfV61Q7xic6r 68lFKuO0601/X7BmHoiz4BUgtesoUs1CNcGG1Q7CwenK7MRK+VZUyf41Ga1Sy22FFqGa ilRG0VB/SAd9XbSgNxSrAY4Flul2vHAbdEVF7f97JPmjNbuLuoXrSXoXGhYw8qudSWxH cw5ELq9u0pHQFNpaKaFzr6QgyjAVsfvSZrX1/bzH6PbvvCPYtmHHWj8wIwqECHnHaXz9 hsZMxEr/Mi4zHGOyeH6i7Mc1PVzjTHEQ9ItV4He23hnrO98UWWU3R2J4zSNl0cAf1Z4z zd+g== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=bfg1gtEvdXM8KKoKom/JX9jaQWOUO74naOKzGwKONlk=; b=walobaVS2SZZn4UqUlx0t2dGAfcn0ESubO1b1JQdlvXuOVAjP04ukngmwa5DyrrAlw g6kdsz4aJE48voKwMZ7tiv88NDFzQorLHsdTFDaTbhhNYhuFHRM3gbLumkF4nICAUSrq fdcmE/x41vTR/OGxCEQcg7f9+I+Edm9SUfXglLsPxBL/5Lv1/0TSlHiEBYZcW7KsKt1J w+1x4AhNfZOxBIBIjv4LbOc2QSOo0C5QIDqFUc+l71LLgnAo4VUnEq7xVCGAahjiF915 IayBIHwGEEWDGsWl+VJs/iNVTXBhN8ohXV5nDHswJVYxGzU4RrwPBWuHiifCmtnbyJMU XCCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="sj/5MXbG"; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x26si2664388eds.99.2020.10.28.03.38.13; Wed, 28 Oct 2020 03:38:35 -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; dkim=pass header.i=@kernel.org header.s=default header.b="sj/5MXbG"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750917AbgJ0OoK (ORCPT + 99 others); Tue, 27 Oct 2020 10:44:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:42132 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762388AbgJ0Omd (ORCPT ); Tue, 27 Oct 2020 10:42:33 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6AD1E206B2; Tue, 27 Oct 2020 14:42:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603809751; bh=50VPYb7kARGD/wvQ4vXog2aLnkkefgJTjV3+99icMWU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sj/5MXbGqJfZ1x3/kcacxoNYBBxCh/DxzuJQMtz1tqGz/C/ADCuID/e1shdjqkuLJ aXIlvBhxj5E7w7icotbRXgv0DUb3FFjbsaDCOHGq5dN4zHCPUKStArLvNy+fo8ptN/ kq17V2oORI2NwmTPHdRhxpvxDf5vOKWU0xDa+Nek= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stephan Gerhold , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.4 306/408] arm64: dts: qcom: pm8916: Remove invalid reg size from wcd_codec Date: Tue, 27 Oct 2020 14:54:04 +0100 Message-Id: <20201027135509.230965272@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135455.027547757@linuxfoundation.org> References: <20201027135455.027547757@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stephan Gerhold [ Upstream commit c2f0cbb57dbac6da3d38b47b5b96de0fe4e23884 ] Tha parent node of "wcd_codec" specifies #address-cells = <1> and #size-cells = <0>, which means that each resource should be described by one cell for the address and size omitted. However, wcd_codec currently lists 0x200 as second cell (probably the size of the resource). When parsing this would be treated like another memory resource - which is entirely wrong. To quote the device tree specification [1]: "If the parent node specifies a value of 0 for #size-cells, the length field in the value of reg shall be omitted." [1]: https://www.devicetree.org/specifications/ Fixes: 5582fcb3829f ("arm64: dts: apq8016-sbc: add analog audio support with multicodec") Signed-off-by: Stephan Gerhold Link: https://lore.kernel.org/r/20200915071221.72895-4-stephan@gerhold.net Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin --- arch/arm64/boot/dts/qcom/pm8916.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/pm8916.dtsi b/arch/arm64/boot/dts/qcom/pm8916.dtsi index 9dd2df1cbf47d..40df4d95a47ac 100644 --- a/arch/arm64/boot/dts/qcom/pm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8916.dtsi @@ -113,7 +113,7 @@ pm8916_1: pm8916@1 { wcd_codec: codec@f000 { compatible = "qcom,pm8916-wcd-analog-codec"; - reg = <0xf000 0x200>; + reg = <0xf000>; reg-names = "pmic-codec-core"; clocks = <&gcc GCC_CODEC_DIGCODEC_CLK>; clock-names = "mclk"; -- 2.25.1