From nobody Sat May 4 05:16:41 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1CE31C54EE9 for ; Wed, 28 Sep 2022 15:20:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234668AbiI1PUp (ORCPT ); Wed, 28 Sep 2022 11:20:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234642AbiI1PUi (ORCPT ); Wed, 28 Sep 2022 11:20:38 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 151B757273 for ; Wed, 28 Sep 2022 08:20:36 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id d42so20981923lfv.0 for ; Wed, 28 Sep 2022 08:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=o6z/7qFA6aTihIkRQlQVaaDZnJmWKtOGTISKDfUokng=; b=j25kiT8VnKGSOkq1tFxRLGMrqmV7bc5kSuNe6rED5H5ELh4c73c5GGHbrrVWjPVCh/ zVwCUiI+eY7ke7Dp3Y2qUiSVD4qpSZepTH4XchPvfgxh+SBxTO4yZUILl4dsEphwneCW QCiX40qRwnixWarJMF2mfOlCAYzvOCNUthj1Iu1L6nCRNL95WL/DOnR498J5MlYHDi9X GDl6kzN4PGLruIhogiKUFvS4XSTJ5vaGPoY6gF2a4z4xyMH3PLCsAq6YYkPDOt/Hv7/o lY6nAA8RGrO+922kU2jOVka1sDDuePvKN/uHzF9Ql1/RNtGjFWs5yQN+ZqoMAr+km5hC PaZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=o6z/7qFA6aTihIkRQlQVaaDZnJmWKtOGTISKDfUokng=; b=PCoSoxyCVu5V3/mGI3tARwx6dT77HLH6ExX9NDzyoTpKrZpg5Os8EBIGamKOnPHUU4 2gy19hgOoQaFcV0wB/5eaAXe5YyAbGITnXpO5S5SKCx1QbnmyVE5t7OmvZ0YvpjMwhQj juEMqt2swnj2EbyTWS7mIi9UN5rSeBCYIaql/tMi4a1PJiJ/2r5repET+1nkHx9KTMzy XHoT31L7l/WlfVx6q7yTVRtmRHuctptniUdH4cyjD6oXhsuJz61m1Esfe9s3lV2kP8dT Cekj7wsvH/SRjGBZVX+K20WAepRa0MiItKsrblBShZgPcnzE9Rguw3kDOTP2jRbDRug/ iwkQ== X-Gm-Message-State: ACrzQf1omfU7mMdUqp2/BNJHJw1UCYWPawr+pHvUD5B+w0fvnI5fYFba SG1ghQn05vumxEwdrKWyYltrTt3oEfIAqw== X-Google-Smtp-Source: AMsMyM5iIpHnFvI01xKPQmtcSKnVEWQ7ni5Fcd/dJO7PhSyM7oqJ3Lg4MJHgBgjoyypLJWhp1562Ew== X-Received: by 2002:a05:6512:1055:b0:49a:de51:5458 with SMTP id c21-20020a056512105500b0049ade515458mr13216754lfb.585.1664378432933; Wed, 28 Sep 2022 08:20:32 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v2-20020a056512048200b00497a41b3a42sm503023lfq.88.2022.09.28.08.20.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 08:20:32 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski , Steev Klimaszewski Subject: [PATCH v2 01/11] arm64: dts: qcom: sdm845: drop unused slimbus properties Date: Wed, 28 Sep 2022 17:20:17 +0200 Message-Id: <20220928152027.489543-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> References: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Drop properties from slimbus node: unneeded status and downstream-related qcom,apps-ch-pipes/qcom,ea-pc (not documented, not used). Signed-off-by: Krzysztof Kozlowski Tested-by: Steev Klimaszewski --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qco= m/sdm845.dtsi index d761da47220d..9db1fce6b198 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3828,9 +3828,6 @@ slim: slim@171c0000 { reg =3D <0 0x171c0000 0 0x2c000>; interrupts =3D ; =20 - qcom,apps-ch-pipes =3D <0x780000>; - qcom,ea-pc =3D <0x270>; - status =3D "okay"; dmas =3D <&slimbam 3>, <&slimbam 4>, <&slimbam 5>, <&slimbam 6>; dma-names =3D "rx", "tx", "tx2", "rx2"; --=20 2.34.1 From nobody Sat May 4 05:16:41 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9500C6FA93 for ; Wed, 28 Sep 2022 15:20:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234664AbiI1PUl (ORCPT ); Wed, 28 Sep 2022 11:20:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234614AbiI1PUh (ORCPT ); Wed, 28 Sep 2022 11:20:37 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE878550A4 for ; Wed, 28 Sep 2022 08:20:35 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id a2so20871269lfb.6 for ; Wed, 28 Sep 2022 08:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=N5iR35AZK7Pq7du6XK86lz6F1DzAFtqNxi6z9fgTPVE=; b=pPXCdKtPXCy691JtUyWZcgY9kFLzjkUwm9LKRUJsPt2sL6Us5s97bXSoIPR/pYB2Kd 3WKqp2DsGQOnj3bEA4bWysKYMSU85xCMNpQk94tQuc1pmK3bO9JZWHqgqtKw4B1nxx98 4afALGP4IvVFrlfn0zCMm8dDUSwYwRoiFkkKnJVxK0bAgd0A0c2odF6d9yvcQeciZ2yZ 3L5nEiMx6Ljn9CywCKnheC5KYsY9VeW5mwo8cw6oPI5nrgKxzFPFuJ7Hne5dijXG0fXP UDhOYBcTo41pjYar/TbxNtapkFtg//OivNe8/H/Q9QfhmwGC2MS9swr89XJb3wpqDwEb OhhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=N5iR35AZK7Pq7du6XK86lz6F1DzAFtqNxi6z9fgTPVE=; b=5zkdlMwdirsH7dQqO8hOMWYlb9blGeKXDnxvFiNbHxVIQgQ9eB/BpXG2dK8lxuSWlo 9oxPwr3iCDnUNUkwVjl5xte4wBctKOAgCffAdAKLlAzkfcz94ohXnmYL2MlAub7CQ+QL GlBrDUkpbx8Frhnm7R5WmNPo7ZoGu8WfQ62Khc6ThKVEepS00fdNwpmSCQaXUj+UKAbX IWPdi+1gR6Pu4H59cKjC8KLFrV3T/cyuq9wFXA7VGoLdQIKpWE4IP0r598bbfVv4iKuy 9u+ndI94fx90447Uo3F8v7t+2AvJGO2ujh2Xf4khEahb3h9oKxopu1Tac7jw0YYmZJRy rigw== X-Gm-Message-State: ACrzQf31ZSZ5SIbo43kv3aCN/yjG4nIBcaJRF+YOkp75uGd99GrFKlXZ aSKQ8EIIxvMnwX9j/G6KLuDL3g== X-Google-Smtp-Source: AMsMyM53pVtExjzequhQZRO9qgs2HsHlqeUIc+D3ThXfCoNdLy4ZlOddGRgUIahVHdpixQ76jJlYXg== X-Received: by 2002:a05:6512:3b20:b0:498:d7bc:28af with SMTP id f32-20020a0565123b2000b00498d7bc28afmr13083842lfv.65.1664378434177; Wed, 28 Sep 2022 08:20:34 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v2-20020a056512048200b00497a41b3a42sm503023lfq.88.2022.09.28.08.20.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 08:20:33 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 02/11] arm64: dts: qcom: msm8996: drop unused slimbus reg-mames Date: Wed, 28 Sep 2022 17:20:18 +0200 Message-Id: <20220928152027.489543-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> References: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Drop undocumented reg-names from slimbus node - there is only one address range and Linux implementation does not use it. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qc= om/msm8996.dtsi index ae31393081dd..903c443a867f 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3312,7 +3312,6 @@ slimbam: dma-controller@9184000 { slim_msm: slim@91c0000 { compatible =3D "qcom,slim-ngd-v1.5.0"; reg =3D <0x091c0000 0x2C000>; - reg-names =3D "ctrl"; interrupts =3D <0 163 IRQ_TYPE_LEVEL_HIGH>; dmas =3D <&slimbam 3>, <&slimbam 4>, <&slimbam 5>, <&slimbam 6>; --=20 2.34.1 From nobody Sat May 4 05:16:41 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BBB62C04A95 for ; Wed, 28 Sep 2022 15:20:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234675AbiI1PUs (ORCPT ); Wed, 28 Sep 2022 11:20:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234323AbiI1PUi (ORCPT ); Wed, 28 Sep 2022 11:20:38 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A89657880 for ; Wed, 28 Sep 2022 08:20:37 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id a3so20833229lfk.9 for ; Wed, 28 Sep 2022 08:20:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=8gAb0vttvsZ8wRV0w5Eu2WIvLvAPbZHBztrbwSwM8vY=; b=xgs6vT8teutOSFqb0VQposP83OTGki/PknCXsIbr5xGNEZGDaOfRYMEyn97Ilvol+S +LRGnzc51DCEPl3tfFTHWxUwiAemmxvdNqC5yP95YW9o6ZrUqNQzAcHQupC5o5ky7OQE dIN+7/+x+rvTQxTs76tT/7GVSd3nh+QgBDAj+B7YJJ6+pOe6bB7zpm7rQRS1a4U/h4d4 3cuMvVAi9sCxqw0zHYFSxHJSaLw+XRyscJ0FNeGWuLTQ/GK9d1TJ1zsyeVOGR0ffgsN9 BwS8g7Z2/UkpYKC3lEKwS+EXytz+d55aNonu54ly7MTu8PaeVBQNfE3Xr/mU3KY7m6x/ 7NHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=8gAb0vttvsZ8wRV0w5Eu2WIvLvAPbZHBztrbwSwM8vY=; b=KPI19FPKpXM4IZdTc8VmZg+gcwz1W+LimK67U/D7iBRHRQ0r5onBXBwkCvUN9bqOE1 cfHu85b6LRdzUGtNpTjbwr0cw2I3NXMlec1dkdmVmQjpJ2Djr4y4n+ONgJdZHmqrmDbJ IhHgb9bebNbvEW3JrvJ2oKl6bWmA4UgaXtBtA6tzR+nFFJg5m4JEn47r7hJoV2TWYsCA HNKXw6i8snIVjmrEpItBO6ziBc7BdEwaCzvRFJ45HtxvjGi9YRaHIx6Xz6n/7m7Zmbe8 eL9jIpU3ugLLiStbMjxhRdCvJjM8zG+Vi9dgNWRbOJOUVxKoN/7BTFNEAOMaECCvUcSJ 1CGg== X-Gm-Message-State: ACrzQf22skBqw+vGtDI1QeuBQPOJ7LwIcNLqrZym+p6WAyoi5WPhQ4yr nGK1BWVNsg7A4Q5l++55mCjm8Q== X-Google-Smtp-Source: AMsMyM4bMv8X2l3axxRXBvUc+yU6M49iZMEsYIEYQjPgxc8If280c7PBFJL+iGRW+647aZKCgEPsng== X-Received: by 2002:a05:6512:6c3:b0:49a:d227:1b5b with SMTP id u3-20020a05651206c300b0049ad2271b5bmr13138341lff.386.1664378435773; Wed, 28 Sep 2022 08:20:35 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v2-20020a056512048200b00497a41b3a42sm503023lfq.88.2022.09.28.08.20.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 08:20:35 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski , Steev Klimaszewski Subject: [PATCH v2 03/11] arm64: dts: qcom: sdm845: correct slimbus children unit addresses Date: Wed, 28 Sep 2022 17:20:19 +0200 Message-Id: <20220928152027.489543-4-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> References: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" slimbus uses address-cells=3D2, so correct children unit addresses. Signed-off-by: Krzysztof Kozlowski Tested-by: Steev Klimaszewski --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qco= m/sdm845.dtsi index 9db1fce6b198..2264bba69f84 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3841,12 +3841,12 @@ ngd@1 { #address-cells =3D <2>; #size-cells =3D <0>; =20 - wcd9340_ifd: ifd@0{ + wcd9340_ifd: ifd@0,0 { compatible =3D "slim217,250"; reg =3D <0 0>; }; =20 - wcd9340: codec@1{ + wcd9340: codec@1,0 { compatible =3D "slim217,250"; reg =3D <1 0>; slim-ifc-dev =3D <&wcd9340_ifd>; --=20 2.34.1 From nobody Sat May 4 05:16:41 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 60A7DC04A95 for ; Wed, 28 Sep 2022 15:20:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234696AbiI1PUw (ORCPT ); Wed, 28 Sep 2022 11:20:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234663AbiI1PUl (ORCPT ); Wed, 28 Sep 2022 11:20:41 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7218858095 for ; Wed, 28 Sep 2022 08:20:38 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id s6so20860654lfo.7 for ; Wed, 28 Sep 2022 08:20:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=nJKdZtRvq8vBlaQZJuT8tYogYRM3UsmdrKTxy6xD2iw=; b=ECypbLZlEBc3Z0/O30Pgb3Wuvkjh6iruZJgk/EF/uCk7saaGA/yDzvJh62ro/qVt6b w01CCdQr1JDsRaOPdeIjbE3+gz4trI87d/gth247bcrjHFq2fF4ReuPcsU4FJhyzc9Sa jA0K66MaRwnzATCEm4PGvHFGm+YruNrK0uL+i6Md0v18eMAsriPGIBotwuMkPP3eD6vR m0VnTQbvUSyC9rH7zICG0YKNWVqINMlo5nCcc4maDICcnj8vuoAsLv3h1M+UK/2Jyu17 fZhjp9Bb14lKA7ykxL/Iq/mGneg/12VAp7kG5MKPSa//z8tEHSRaUt5D08ua1R05CKmw qvpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=nJKdZtRvq8vBlaQZJuT8tYogYRM3UsmdrKTxy6xD2iw=; b=2NeJXvjhoZMIhQJpWLcATpC5hSW/vtB8wfyu70qaIFo1kKF8Blg1X8iZYiFwLdD2FO hiCvAw2HxnEAK1cp2XmvJ/hRgUp1ahoLeCEaA+vIcuAwBJLqgw2tycRg60XyOmUN/NHj 48Rv1z6EI87wFLRGPgr6r+Qc5c6ArOrN8/v7CrbUJzLc8d+vVl/dz7CY1overwqLHjdR EiiIIlYJXA2/NdrRIvPQEM7VSO9hYzw3y8saw7331QW14es9rhym2jMgtqSuX0ds8Ozi IhgA0o2NT6EoJT0AsfStxfzH8wggNnzzBa3WnR2+SmPmyskgpVOiyQjbiQ9kTbNYguPt VPlQ== X-Gm-Message-State: ACrzQf3bfpeKnp8FR3qK3FY4jKg4YDitDAiyZ2whRFC8/02WhDPHD8za ZviQyFslZQpwGo6Py/a2JzSQBpSaR/zr9Q== X-Google-Smtp-Source: AMsMyM4OvHn5df/1ZdYKcsHcWuHyLKD/5xwVshBRv1ealxyNmTVpj9vuLVX96fYV7ZzhhZFuf2GAZQ== X-Received: by 2002:ac2:518d:0:b0:4a1:c4ad:fe2d with SMTP id u13-20020ac2518d000000b004a1c4adfe2dmr7519443lfi.222.1664378436849; Wed, 28 Sep 2022 08:20:36 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v2-20020a056512048200b00497a41b3a42sm503023lfq.88.2022.09.28.08.20.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 08:20:36 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 04/11] arm64: dts: qcom: mms8996: correct slimbus children unit addresses Date: Wed, 28 Sep 2022 17:20:20 +0200 Message-Id: <20220928152027.489543-5-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> References: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Correct slimbus address/size cells to match bindings. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qc= om/msm8996.dtsi index 903c443a867f..2c5908d104f7 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3320,15 +3320,15 @@ slim_msm: slim@91c0000 { #size-cells =3D <0>; ngd@1 { reg =3D <1>; - #address-cells =3D <1>; - #size-cells =3D <1>; + #address-cells =3D <2>; + #size-cells =3D <0>; =20 - tasha_ifd: tas-ifd { + tasha_ifd: tas-ifd@0,0 { compatible =3D "slim217,1a0"; reg =3D <0 0>; }; =20 - wcd9335: codec@1{ + wcd9335: codec@1,0 { pinctrl-0 =3D <&cdc_reset_active &wcd_intr_default>; pinctrl-names =3D "default"; =20 --=20 2.34.1 From nobody Sat May 4 05:16:41 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91F36C04A95 for ; Wed, 28 Sep 2022 15:20:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234274AbiI1PU4 (ORCPT ); Wed, 28 Sep 2022 11:20:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234665AbiI1PUl (ORCPT ); Wed, 28 Sep 2022 11:20:41 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 274485754D for ; Wed, 28 Sep 2022 08:20:39 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id s10so14715380ljp.5 for ; Wed, 28 Sep 2022 08:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=oafNPI2RebJ690RXvFerRH66MRprlkRm3LjfeDmSHqg=; b=rx3XgFKIWsg50FkL77Hcvpne1R2s/UIdEdaD1noN+VnzxE0zgLAftUmiY7vM6NXTbv rFGcRIu8Z5JCop6SAJhSUm7RAGmtiOohzi0hc2YfgKVVYW4DCEqnie3CsQBYshX6HcBa l8hZpn0SXgZK+sWb+BSVUwydd4d0774BodCPHNP33temGZmZ554mt3VyB/y/XFV+1FDF naBkXxDbKZaYDQbiSLjbVq55vTTSANswu+FXaG+GdilhoLjQatT9yS06nq6QlfWXRk0H 5X4QvMXGPrV5QD2UMWyUpHYW7zzhMHngkKNf5H/SYx8+RdOlm/VP80ZcOKbm08zF1BOJ iU+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=oafNPI2RebJ690RXvFerRH66MRprlkRm3LjfeDmSHqg=; b=KpVHMSD81yxuKWOFk+j/NOBgHfEAEIdN8R4XjD9PjxHTTStj6BgAh2IEShAWUKVAlv /0kHhm72QCWRRXM/INuoHo8ndwrRq9DwR0UpcCdjgJQV+V7eKL4XJKPThOhmfcaRs7tH Mv+oczfgegWnOWReZX6/unvgOUu7qK94/ZA2xG4W8SW2hOTqWhpZgprgwhF0a6csrr6v 7Rz2XFNU1cMc0Z28mEzHltkWR9T7SGH3htxR6a4c09GW8SW9lvlnrIUAVibkxCkCSO7R q5NcXtmYDhyT7OekbJNq1OKQXNYzk5HQFWc5sfDrZ58KedPrvnWSSbd1w7VlhI0DxZ/S j+PQ== X-Gm-Message-State: ACrzQf0uXpOoqxuQ/f3g6UIMeNl/NDDhEot0SGQJgHumMy/5USsDJy4T A2oSJMl+DLgkOQDWOHAA1l5i0w== X-Google-Smtp-Source: AMsMyM4V25G2u71JmpUD75q/3Ny+L39I7/Urt1oiXNZiTvVJv/6gYVNpMKAK4bpOTvkCuwOIhRu2Cw== X-Received: by 2002:a05:651c:1115:b0:26d:a0bd:97af with SMTP id e21-20020a05651c111500b0026da0bd97afmr4547186ljo.261.1664378438143; Wed, 28 Sep 2022 08:20:38 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v2-20020a056512048200b00497a41b3a42sm503023lfq.88.2022.09.28.08.20.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 08:20:37 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski , Steev Klimaszewski Subject: [PATCH v2 05/11] arm64: dts: qcom: sdm845: drop unused slimbus dmas Date: Wed, 28 Sep 2022 17:20:21 +0200 Message-Id: <20220928152027.489543-6-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> References: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Bindings document only two DMA channels. Linux driver also does not use remaining rx2/tx2. Signed-off-by: Krzysztof Kozlowski Tested-by: Steev Klimaszewski --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qco= m/sdm845.dtsi index 2264bba69f84..1213f78a8b7a 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3828,9 +3828,8 @@ slim: slim@171c0000 { reg =3D <0 0x171c0000 0 0x2c000>; interrupts =3D ; =20 - dmas =3D <&slimbam 3>, <&slimbam 4>, - <&slimbam 5>, <&slimbam 6>; - dma-names =3D "rx", "tx", "tx2", "rx2"; + dmas =3D <&slimbam 3>, <&slimbam 4>; + dma-names =3D "rx", "tx"; =20 iommus =3D <&apps_smmu 0x1806 0x0>; #address-cells =3D <1>; --=20 2.34.1 From nobody Sat May 4 05:16:41 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7F6AC04A95 for ; Wed, 28 Sep 2022 15:21:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234720AbiI1PVB (ORCPT ); Wed, 28 Sep 2022 11:21:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234667AbiI1PUl (ORCPT ); Wed, 28 Sep 2022 11:20:41 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C25BB57BCF for ; Wed, 28 Sep 2022 08:20:39 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id a8so20850123lff.13 for ; Wed, 28 Sep 2022 08:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=Fxkwow1Xm3fK1Et6nbVH+mRVG5q33XL6HKbPhtZeFeU=; b=QDsG7hY/7DZUkGD0YGTss7p+Xl18GN0cleD581EklbcIouPa0r0TkAgn5K9ZVrJITc g0rVFZBHbBBLnqWC0IJqcb8ZSDxkMF1/g1Bm2nkrwrTuVNO9hAZ0Wu5TkYPmUU35F3b0 fTep1WP2xVVMm7KEItmd6+E6v586wx3YjpWBGw8ToWsV1k7uwUtGhW/d49CCir+E3fh/ 1f6Mh3KQokkceYmXX6aJuY3b6OktaLmFXQsxJ5eK+QogciKQTw2UN1jeh6/7k+f1Yx2O qZynMwepNFnFOdGbUMtEvgFc96xLoYr3SXKK/GFGyQ611F28dDvjOPNT4p3VQ+Xb8Fbt E4YA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=Fxkwow1Xm3fK1Et6nbVH+mRVG5q33XL6HKbPhtZeFeU=; b=C+5uq2Vz/vLjHViw9uRr74gc087wr2Bl+pwYmT4Hsfymrj+HYmce3ISG4eum+ZOw/z sXCiXTLIUeg5XQJF0XZv7BPmQJmCV+tP1A34Qbww9O0jwGCqiPbsg1WQQIK3PHx3qwUD X2R2otMklqKK6aTNgrSlqf1P1TiDxyEbFysmZlcKlQiHTAOAbACA1oBSE8efBCPKltXl zNEYrSr+advdYr7VqO/I/tS8Noe0uola2Gz8pkTqNmLrSfEC0ZwgdmA2V9zVnX4u6XvT F4RqmCYuVEyWOl839KvgvbmGf1xvJ6KbnqnXNzEBh7GwEQsNuWoOjqXL7NC2/jtQUMVe RLag== X-Gm-Message-State: ACrzQf2kqb6VeUb2V4SApr3sIkq7SOzIYjp2Zt8Cjfv+LQHqle04rrn0 KYIGJMXQMfIO2xJwK6ITzIu87w== X-Google-Smtp-Source: AMsMyM7MEmEEYjwpUyW2Aqu4/Zc0FmSboH2I7oUiVISmK/R94LcrgrOzhmd4P11ngCZB4ztwJgHsFg== X-Received: by 2002:a05:6512:1285:b0:499:af40:afaa with SMTP id u5-20020a056512128500b00499af40afaamr13346756lfs.540.1664378439345; Wed, 28 Sep 2022 08:20:39 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v2-20020a056512048200b00497a41b3a42sm503023lfq.88.2022.09.28.08.20.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 08:20:38 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 06/11] arm64: dts: qcom: msm8996: drop unused slimbus dmas Date: Wed, 28 Sep 2022 17:20:22 +0200 Message-Id: <20220928152027.489543-7-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> References: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Bindings document only two DMA channels. Linux driver also does not use remaining rx2/tx2. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qc= om/msm8996.dtsi index 2c5908d104f7..8b31f4655cb8 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3313,9 +3313,8 @@ slim_msm: slim@91c0000 { compatible =3D "qcom,slim-ngd-v1.5.0"; reg =3D <0x091c0000 0x2C000>; interrupts =3D <0 163 IRQ_TYPE_LEVEL_HIGH>; - dmas =3D <&slimbam 3>, <&slimbam 4>, - <&slimbam 5>, <&slimbam 6>; - dma-names =3D "rx", "tx", "tx2", "rx2"; + dmas =3D <&slimbam 3>, <&slimbam 4>; + dma-names =3D "rx", "tx"; #address-cells =3D <1>; #size-cells =3D <0>; ngd@1 { --=20 2.34.1 From nobody Sat May 4 05:16:41 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 290F0C54EE9 for ; Wed, 28 Sep 2022 15:21:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234741AbiI1PVK (ORCPT ); Wed, 28 Sep 2022 11:21:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234698AbiI1PUx (ORCPT ); Wed, 28 Sep 2022 11:20:53 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA6E95A17B for ; Wed, 28 Sep 2022 08:20:42 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id a14so14695749ljj.8 for ; Wed, 28 Sep 2022 08:20:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=TEIMEXNTxGqg9FIJuHmUEfN/3H8rW2QISPKmzsdVbpo=; b=TjKchRv1sYiCNIUDblEuXE9d6Nj96yZW/Bh9Qej8oMyDXeA77J4kB/PuR76nS/tiVM oEQCWLmlxPE3hB/qi9W1xjJl8xdlW4WsSpmGfBYtR/+2MsgRXGMCxEb1UxEeqsZLvr86 yeqH4UeaUu5w0/wb059HYxvKgulk+NI5GfgSVZdRrmjLqJacQvYOHPP8rNXpOwkvX4Hl sgOCwdzF/UyruhNlNtlK7bpMVqLLP0BqcXuuEpSTgnzRnfcyqsMGiT6B++ycGbJg2OIi 2WX+rSANiH2RI8mPypmUgo2i5DxXFR3tp2u9fsQvzjUlaQR5pH4sh1uT5Bw5QHMjYcv6 RZuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=TEIMEXNTxGqg9FIJuHmUEfN/3H8rW2QISPKmzsdVbpo=; b=5legfWYg8c37wpJQ56xmcnruz4AF1UbnU9lME9vsVGh5SDDGqUnf5yxZqzuXc3GrhU nQqiPyHoD9642veaCT7zBQCly5hISFpYFIBZW4FHtiNZ/wF69CQ0IroeDfcdJmzJQpJP axZAi9hrITHft/lla/aM8/yFNe8czkJxidVnu+84eXuDQN8NPr04YdUNOBepK3DENlQR +vXPC/5swlNSztotosQVP7ChJS47D6sXF0Ch/eXnttZTmsS8eAiky+3p1mnCNyQ/Dg+3 kB21pzITlxJ2/wdtNRp4waxg48bQv/fUsB7xWa7zypsbWZh1drHd+NffIWsTO72qT9aH oyZw== X-Gm-Message-State: ACrzQf3LPSG+dJPDsIKyrjqaR5cw2wAfZTbqCBJZqO26Rt4SyAM/ytNy sLNHK3yGLBT2cXLLquBhYZop7w== X-Google-Smtp-Source: AMsMyM7+YZABGg/Lo00PPHcxbrg2EdO5N0fmX8+9Tr2tA7ji3CsUjnRVUG53N/o/sfg2V7DVXPi2og== X-Received: by 2002:a05:651c:90a:b0:25d:57c9:30c4 with SMTP id e10-20020a05651c090a00b0025d57c930c4mr11361507ljq.386.1664378440868; Wed, 28 Sep 2022 08:20:40 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v2-20020a056512048200b00497a41b3a42sm503023lfq.88.2022.09.28.08.20.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 08:20:40 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski , Steev Klimaszewski Subject: [PATCH v2 07/11] arm64: dts: qcom: sdm845: align node names with DT schema Date: Wed, 28 Sep 2022 17:20:23 +0200 Message-Id: <20220928152027.489543-8-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> References: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" New slimbus DT schema expect only SLIMbus bus nodes to be named "slimbus". In case of Qualcomm SLIMbus NGD, the bus node is what was called "ngd". Signed-off-by: Krzysztof Kozlowski Tested-by: Steev Klimaszewski --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qco= m/sdm845.dtsi index 1213f78a8b7a..7b62efb180d5 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -3823,7 +3823,7 @@ qspi: spi@88df000 { status =3D "disabled"; }; =20 - slim: slim@171c0000 { + slim: slim-ngd@171c0000 { compatible =3D "qcom,slim-ngd-v2.1.0"; reg =3D <0 0x171c0000 0 0x2c000>; interrupts =3D ; @@ -3835,7 +3835,7 @@ slim: slim@171c0000 { #address-cells =3D <1>; #size-cells =3D <0>; =20 - ngd@1 { + slim@1 { reg =3D <1>; #address-cells =3D <2>; #size-cells =3D <0>; --=20 2.34.1 From nobody Sat May 4 05:16:41 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E22EC04A95 for ; Wed, 28 Sep 2022 15:30:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234773AbiI1PaI (ORCPT ); Wed, 28 Sep 2022 11:30:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233818AbiI1P26 (ORCPT ); Wed, 28 Sep 2022 11:28:58 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 751B95D136 for ; Wed, 28 Sep 2022 08:28:57 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id sd10so27959489ejc.2 for ; Wed, 28 Sep 2022 08:28:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=rQi7cXeOGY/HNtdfUBGhQ3z+Yj+bhensaF8Epr2+VKg=; b=WVkGr8uX6x7t3roYufHT3DLMR6W8mLiM4JJh38Gi0RhH5xJA1sU2eTj83+VR9jl5yo gqmqry/hsBbU+yvrfT3z9RM4jlCszIQtw3WE1L/ISCMAp+dbQM/I6els1XyYeWGjR4la lTU9VJfZIO8YbhVoDnNrCooTD07h2tg/Yn+dnREZHvlXo1Pmqh8j2jLo3ki0NoRmsbG5 moRtIrjOoC5t6UeeeYSmmwXGOQYpG6TgBEzULYlQ7a+wGIgqywvwRwo4Gdi5EClrrKIv 3+fPmmfMC7z9LT9sreAYJONhiOm/KTYdw8ielIezMmxEG2qLOTwchn+Fbv6UBT4MJkbj 9pQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=rQi7cXeOGY/HNtdfUBGhQ3z+Yj+bhensaF8Epr2+VKg=; b=UEqZwjMYCDN7cvVBY2m+Bl5ajCNoAaDLOzr5rU4uwYQ62PqBNVmQ7wSDYPvi519fLt fUzspFjhlH2wHzNnZZN2vBF81KLIVP25w6fNTszpfGRmvMNxtJD7IMKTH0E9Xd0tgRpa K5Jkc9WkNy25Lc43zAuC1ip3NbAm4Vu1J1xmjUt+Y2f12IvMdWYiq5bg4nzAvJvZT9Jd cgLHFVkXkqd/HpOhl0KmVEhKdMLnDdHOvdtJetREj7x9Sw+4WrcQX2ZOKy926B2Wf/1+ Vr4Uj6gABVPVaU0E1l6XPy8pmsuGLeRY8zyGaL9p51Hfy21Z5UPgmg37FEG+BIE645Qc KwOQ== X-Gm-Message-State: ACrzQf2vz5MhJ8heIVmqy8Ky6alrDvRD8wOcly8s+I4SFwNbvYzM8Rf7 OH3LpJ70JXrbw6r9CgvLfpA4IS0jnp5LzA== X-Google-Smtp-Source: AMsMyM6VehWI9qon+rnG5VScgt7/uupHOCjOgtYrEVVC/9keKEAcBEBBsH/c1adrF8JwLdwReiHzjA== X-Received: by 2002:a05:6512:3d8c:b0:49a:4872:858 with SMTP id k12-20020a0565123d8c00b0049a48720858mr12955333lfv.145.1664378441955; Wed, 28 Sep 2022 08:20:41 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v2-20020a056512048200b00497a41b3a42sm503023lfq.88.2022.09.28.08.20.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 08:20:41 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 08/11] arm64: dts: qcom: msm8996: align node names with DT schema Date: Wed, 28 Sep 2022 17:20:24 +0200 Message-Id: <20220928152027.489543-9-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> References: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" New slimbus DT schema expect only SLIMbus bus nodes to be named "slimbus". In case of Qualcomm SLIMbus NGD, the bus node is what was called "ngd". Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qc= om/msm8996.dtsi index 8b31f4655cb8..341295be7609 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -3309,7 +3309,7 @@ slimbam: dma-controller@9184000 { qcom,num-ees =3D <2>; }; =20 - slim_msm: slim@91c0000 { + slim_msm: slim-ngd@91c0000 { compatible =3D "qcom,slim-ngd-v1.5.0"; reg =3D <0x091c0000 0x2C000>; interrupts =3D <0 163 IRQ_TYPE_LEVEL_HIGH>; @@ -3317,7 +3317,7 @@ slim_msm: slim@91c0000 { dma-names =3D "rx", "tx"; #address-cells =3D <1>; #size-cells =3D <0>; - ngd@1 { + slim@1 { reg =3D <1>; #address-cells =3D <2>; #size-cells =3D <0>; --=20 2.34.1 From nobody Sat May 4 05:16:41 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37C91C04A95 for ; Wed, 28 Sep 2022 15:21:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234118AbiI1PVP (ORCPT ); Wed, 28 Sep 2022 11:21:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234667AbiI1PVD (ORCPT ); Wed, 28 Sep 2022 11:21:03 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 138EF5A820 for ; Wed, 28 Sep 2022 08:20:44 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id k10so20895031lfm.4 for ; Wed, 28 Sep 2022 08:20:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=ofHed6JKbGC+4Jz+O/EarTAHvckHPCUIcHhSeApLDCY=; b=R+WzAjrwXTKPt8JG0qQdtm0I3rM7cfNLmDoEhnuIP8T/UbqBz3qRX79XWlmipO8fZs m44HIDV+rzWoJ4wYItiHwHGVVBsUHlaUE/wMrz51vIbYB0T26jX8SUP7Hq9THE8NARkB +/80SWdHfsV51S93BS6f22IDvkVUYzKlMIUI0yFmpOAnr7SdOYgPiWhbUAZKH8rfQEJI dI1hDMULcC/euipaSFDx8t4EbSqpJ+r1uctDSGn2EsG5kRb2I8jSdjU0WAKmh185gm37 VWMwr7IIFd1Brag/Q53nJxcxMl465g6b542tdhABXgA5sieAbtjS8RTPUOdsGKYoRPoj Bo1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=ofHed6JKbGC+4Jz+O/EarTAHvckHPCUIcHhSeApLDCY=; b=ppsKYs321HdQVRgWsgD+4sBIrI7L1eBCYlY5xLh/qBb+nYHgpH5Ba9aomHGHeZ/6SC RmVL5xsjdT1Krcfj475DZKYEUppqP8KwNXIqpyEiqftyfvMqKB2k3ZzAxxRPSLfxkBKF DrNDou5AkX8LgzMRlqT8gKjDg1X0UDO9hw5eFXVOL85A6sye2yeEEMiJduX7C7R/C7Ob sLB0Zz6g7ZliNE8CupmBhp8rXYn6tpi9WaejWGGAJiOa4zB2lzwAZgUq1ZlSNuvYdOOi kNuaAOAapY9qpsUm4SClh7N3YH52tz8zSJcdMAiIu2q4Y7GepuCKDTbov6PFTvtKdLxT QADA== X-Gm-Message-State: ACrzQf0ZZC0HiRUTOQG6f9oOXsiUGcTy7w4Ez0RHlrt0mhKR6cQRlEjI ColzhExRHljQQN1eC0RKXFxvcA== X-Google-Smtp-Source: AMsMyM5hx9BsNx3ycsMIfsneHfvlKV199tp4F1osXnDzUTkIn2J7KpBFTyiictm0nkFeygHz5tz+tA== X-Received: by 2002:a05:6512:1327:b0:4a0:4539:cad8 with SMTP id x39-20020a056512132700b004a04539cad8mr11692293lfu.460.1664378443391; Wed, 28 Sep 2022 08:20:43 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v2-20020a056512048200b00497a41b3a42sm503023lfq.88.2022.09.28.08.20.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 08:20:42 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 09/11] dt-bindings: slimbus: convert bus description to DT schema Date: Wed, 28 Sep 2022 17:20:25 +0200 Message-Id: <20220928152027.489543-10-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> References: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Convert the SLIMbus bus description bindings to DT Schema. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/slimbus/bus.txt | 60 ------------ .../bindings/slimbus/slim-ngd-qcom-ctrl.txt | 2 - .../bindings/slimbus/slim-qcom-ctrl.txt | 3 - .../devicetree/bindings/slimbus/slimbus.yaml | 95 +++++++++++++++++++ 4 files changed, 95 insertions(+), 65 deletions(-) delete mode 100644 Documentation/devicetree/bindings/slimbus/bus.txt create mode 100644 Documentation/devicetree/bindings/slimbus/slimbus.yaml diff --git a/Documentation/devicetree/bindings/slimbus/bus.txt b/Documentat= ion/devicetree/bindings/slimbus/bus.txt deleted file mode 100644 index bbe871f82a8b..000000000000 --- a/Documentation/devicetree/bindings/slimbus/bus.txt +++ /dev/null @@ -1,60 +0,0 @@ -SLIM(Serial Low Power Interchip Media Bus) bus - -SLIMbus is a 2-wire bus, and is used to communicate with peripheral -components like audio-codec. - -Required property for SLIMbus controller node: -- compatible - name of SLIMbus controller - -Child nodes: -Every SLIMbus controller node can contain zero or more child nodes -representing slave devices on the bus. Every SLIMbus slave device is -uniquely determined by the enumeration address containing 4 fields: -Manufacturer ID, Product code, Device index, and Instance value for -the device. -If child node is not present and it is instantiated after device -discovery (slave device reporting itself present). - -In some cases it may be necessary to describe non-probeable device -details such as non-standard ways of powering up a device. In -such cases, child nodes for those devices will be present as -slaves of the SLIMbus controller, as detailed below. - -Required property for SLIMbus child node if it is present: -- reg - Should be ('Device index', 'Instance ID') from SLIMbus - Enumeration Address. - Device Index Uniquely identifies multiple Devices within - a single Component. - Instance ID Is for the cases where multiple Devices of the - same type or Class are attached to the bus. - -- compatible -"slimMID,PID". The textual representation of Manufacturer ID, - Product Code, shall be in lower case hexadecimal with leading - zeroes suppressed - -Optional property for SLIMbus child node if it is present: -- slim-ifc-dev - Should be phandle to SLIMBus Interface device. - Required for devices which deal with streams. - -SLIMbus example for Qualcomm's slimbus manager component: - - slim@28080000 { - compatible =3D "qcom,apq8064-slim", "qcom,slim"; - reg =3D <0x28080000 0x2000>, - interrupts =3D <0 33 0>; - clocks =3D <&lcc SLIMBUS_SRC>, <&lcc AUDIO_SLIMBUS_CLK>; - clock-names =3D "iface", "core"; - #address-cells =3D <2>; - #size-cell =3D <0>; - - codec_ifd: ifd@0,0{ - compatible =3D "slim217,60"; - reg =3D <0 0>; - }; - - codec: wcd9310@1,0{ - compatible =3D "slim217,60"; - reg =3D <1 0>; - slim-ifc-dev =3D <&codec_ifd>; - }; - }; diff --git a/Documentation/devicetree/bindings/slimbus/slim-ngd-qcom-ctrl.t= xt b/Documentation/devicetree/bindings/slimbus/slim-ngd-qcom-ctrl.txt index e94a2ad3a710..7c3d9eb6af5d 100644 --- a/Documentation/devicetree/bindings/slimbus/slim-ngd-qcom-ctrl.txt +++ b/Documentation/devicetree/bindings/slimbus/slim-ngd-qcom-ctrl.txt @@ -5,8 +5,6 @@ with SLIMBus slaves directly over the bus using messaging i= nterface and communicating with master component residing on ADSP for bandwidth and data-channel management =20 -Please refer to slimbus/bus.txt for details of the common SLIMBus bindings. - - compatible: Usage: required Value type: diff --git a/Documentation/devicetree/bindings/slimbus/slim-qcom-ctrl.txt b= /Documentation/devicetree/bindings/slimbus/slim-qcom-ctrl.txt index 922dcb8ff24a..6d955e129f90 100644 --- a/Documentation/devicetree/bindings/slimbus/slim-qcom-ctrl.txt +++ b/Documentation/devicetree/bindings/slimbus/slim-qcom-ctrl.txt @@ -4,9 +4,6 @@ master component. =20 Required properties: =20 - - #address-cells - refer to Documentation/devicetree/bindings/slimbus/bus= .txt - - #size-cells - refer to Documentation/devicetree/bindings/slimbus/bus.txt - - reg : Offset and length of the register region(s) for the device - reg-names : Register region name(s) referenced in reg above Required register resource entries are: diff --git a/Documentation/devicetree/bindings/slimbus/slimbus.yaml b/Docum= entation/devicetree/bindings/slimbus/slimbus.yaml new file mode 100644 index 000000000000..22513fb7c59a --- /dev/null +++ b/Documentation/devicetree/bindings/slimbus/slimbus.yaml @@ -0,0 +1,95 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/slimbus/slimbus.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SLIM (Serial Low Power Interchip Media) bus + +maintainers: + - Srinivas Kandagatla + +description: + SLIMbus is a 2-wire bus, and is used to communicate with peripheral + components like audio-codec. + +properties: + $nodename: + pattern: "^slim(@.*|-[0-9a-f])*$" + + "#address-cells": + const: 2 + + "#size-cells": + const: 0 + +patternProperties: + "^.*@[0-9a-f]+,[0-9a-f]+$": + type: object + description: | + Every SLIMbus controller node can contain zero or more child nodes + representing slave devices on the bus. Every SLIMbus slave device is + uniquely determined by the enumeration address containing 4 fields:: + Manufacturer ID, Product code, Device index, and Instance value for = the + device. + + If child node is not present and it is instantiated after device + discovery (slave device reporting itself present). + + In some cases it may be necessary to describe non-probeable device + details such as non-standard ways of powering up a device. In such c= ases, + child nodes for those devices will be present as slaves of the SLIMb= us + controller. + + properties: + compatible: + pattern: "^slim[0-9a-f]+,[0-9a-f]+$" + + reg: + maxItems: 1 + description: | + Pair of (device index, instande ID), where:: + - Device index, which uniquely identifies multiple devices with= in a + single component. + - Instance ID, can be used for the cases where multiple devices= of + the same type or class are attached to the bus. + + required: + - compatible + - reg + + additionalProperties: true + +required: + - "#address-cells" + - "#size-cells" + +additionalProperties: true + +examples: + - | + #include + #include + #include + + soc { + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges; + + slim@28080000 { + compatible =3D "qcom,apq8064-slim", "qcom,slim"; + reg =3D <0x28080000 0x2000>, <0x80207c 4>; + reg-names =3D "ctrl", "slew"; + interrupts =3D ; + clocks =3D <&lcc SLIMBUS_SRC>, <&lcc AUDIO_SLIMBUS_CLK>; + clock-names =3D "iface", "core"; + #address-cells =3D <2>; + #size-cells =3D <0>; + + audio-codec@1,0 { + compatible =3D "slim217,60"; + reg =3D <1 0>; + }; + }; + }; --=20 2.34.1 From nobody Sat May 4 05:16:41 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B2FEC32771 for ; Wed, 28 Sep 2022 15:21:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234764AbiI1PVV (ORCPT ); Wed, 28 Sep 2022 11:21:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234725AbiI1PVF (ORCPT ); Wed, 28 Sep 2022 11:21:05 -0400 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A23E75AA3D for ; Wed, 28 Sep 2022 08:20:45 -0700 (PDT) Received: by mail-lf1-x131.google.com with SMTP id j16so20913792lfg.1 for ; Wed, 28 Sep 2022 08:20:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=BIA0TAnjcVDeqXmtPoACZFO0zgCM9Z55/uYMEChmV1k=; b=HUVIrwJlbnWC7POZbUuq+jawZ0pCLLKkdhQ3Sh6xcMy6lbIlMorHLq1LMkUHCaXBSF ZrReqg/oB8K+ev35Is83p3IEFbT5fxx7j6jpS+sCsC+B8DVdEu954I3L/TmX185bRvKz gH6fOuxZhoTvGP8xLj9kWhMTVV65wGdbk0ALcpbiiIZsr3oyVL5oZ9nP29s0yMzlGjh5 dcasR4sZ0YjbLofO5zxnW0ExCizB5BUyjqAncvt1iZ8v6U57+P+1p6q7A0UrEzeymo3/ owzq4L72aGyoxHP7OubyUeEUA7r5IDUBFzSd6Yo97mpxk2IRG6XduzHRMz2euEavQnVf wBPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=BIA0TAnjcVDeqXmtPoACZFO0zgCM9Z55/uYMEChmV1k=; b=g9FpcHbd3VZKrcPUIbmriYpgp2fIHpyXYgVuOb7+8dT6lI8xHnitAahOYDUzX4D7F8 1kkJ3H6h0cqA1iy6A0snD1kYR0iRGr8vybLtB4UuSrT0eSRTfJzJSS/ZD6IVAJjQmzs1 V1i3qidJvAN6GV86t2VBwD0x9yIb0aqSXIncQIN06kUQlEyr7ESH16hE+dgRgMAPJcVQ uhDsmJmhLYo8a55gaUypAVcYCyPYECZA7+Rcv0F9v7xPHy0kUjVPhlkZl9LF1x+fWRyT IZJxLameZW+YbiP4jX+P39JerF0Im066tEkw9y3a92symv7yrtj3L3qZAtVUeBt8KuMF fjaQ== X-Gm-Message-State: ACrzQf3fzosM4pB+MipJEIOLFx5j1RqQtK5DHInBw2dfM+1xf2hJXUjx 3wUV1yNXAVu3EgP1kbcV0LpuqA== X-Google-Smtp-Source: AMsMyM6rOb4+Z/xY3QPevQEAUk/nnJsmWhq1eHI2OR3T6Ao9NDzM8pnBJePg8hOoi4WsWLfHsGHQnA== X-Received: by 2002:ac2:5a49:0:b0:49f:f620:b81b with SMTP id r9-20020ac25a49000000b0049ff620b81bmr12966051lfn.307.1664378444747; Wed, 28 Sep 2022 08:20:44 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v2-20020a056512048200b00497a41b3a42sm503023lfq.88.2022.09.28.08.20.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 08:20:44 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 10/11] dt-bindings: slimbus: qcom,slim: convert to DT schema Date: Wed, 28 Sep 2022 17:20:26 +0200 Message-Id: <20220928152027.489543-11-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> References: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Convert the Qualcomm SoC SLIMbus controller bindings to DT Schema. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/slimbus/qcom,slim.yaml | 86 +++++++++++++++++++ .../bindings/slimbus/slim-qcom-ctrl.txt | 36 -------- 2 files changed, 86 insertions(+), 36 deletions(-) create mode 100644 Documentation/devicetree/bindings/slimbus/qcom,slim.yaml delete mode 100644 Documentation/devicetree/bindings/slimbus/slim-qcom-ctr= l.txt diff --git a/Documentation/devicetree/bindings/slimbus/qcom,slim.yaml b/Doc= umentation/devicetree/bindings/slimbus/qcom,slim.yaml new file mode 100644 index 000000000000..883bda58ca97 --- /dev/null +++ b/Documentation/devicetree/bindings/slimbus/qcom,slim.yaml @@ -0,0 +1,86 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/slimbus/qcom,slim.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SoC SLIMbus controller + +maintainers: + - Krzysztof Kozlowski + - Srinivas Kandagatla + +description: + SLIMbus controller used when applications processor controls SLIMbus mas= ter + component. + +allOf: + - $ref: slimbus.yaml# + +properties: + compatible: + items: + - enum: + - qcom,apq8064-slim + - const: qcom,slim + + reg: + items: + - description: Physical address of controller register blocks + - description: SLEW RATE register + + reg-names: + items: + - const: ctrl + - const: slew + + clocks: + items: + - description: Interface clock for this controller + - description: Interrupt for controller core's BAM + + clock-names: + items: + - const: iface + - const: core + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - reg-names + - clocks + - clock-names + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + #include + #include + + soc { + #address-cells =3D <1>; + #size-cells =3D <1>; + ranges; + + slim@28080000 { + compatible =3D "qcom,apq8064-slim", "qcom,slim"; + reg =3D <0x28080000 0x2000>, <0x80207c 4>; + reg-names =3D "ctrl", "slew"; + interrupts =3D ; + clocks =3D <&lcc SLIMBUS_SRC>, <&lcc AUDIO_SLIMBUS_CLK>; + clock-names =3D "iface", "core"; + #address-cells =3D <2>; + #size-cells =3D <0>; + + audio-codec@1,0 { + compatible =3D "slim217,60"; + reg =3D <1 0>; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/slimbus/slim-qcom-ctrl.txt b= /Documentation/devicetree/bindings/slimbus/slim-qcom-ctrl.txt deleted file mode 100644 index 6d955e129f90..000000000000 --- a/Documentation/devicetree/bindings/slimbus/slim-qcom-ctrl.txt +++ /dev/null @@ -1,36 +0,0 @@ -Qualcomm SLIMbus controller -This controller is used if applications processor driver controls SLIMbus -master component. - -Required properties: - - - reg : Offset and length of the register region(s) for the device - - reg-names : Register region name(s) referenced in reg above - Required register resource entries are: - "ctrl": Physical address of controller register blocks - "slew": required for "qcom,apq8064-slim" SOC. - - compatible : should be "qcom,-slim" for SOC specific compatib= le - followed by "qcom,slim" for fallback. - - interrupts : Interrupt number used by this controller - - clocks : Interface and core clocks used by this SLIMbus controller - - clock-names : Required clock-name entries are: - "iface" : Interface clock for this controller - "core" : Interrupt for controller core's BAM - -Example: - - slim@28080000 { - compatible =3D "qcom,apq8064-slim", "qcom,slim"; - reg =3D <0x28080000 0x2000>, <0x80207C 4>; - reg-names =3D "ctrl", "slew"; - interrupts =3D <0 33 0>; - clocks =3D <&lcc SLIMBUS_SRC>, <&lcc AUDIO_SLIMBUS_CLK>; - clock-names =3D "iface", "core"; - #address-cells =3D <2>; - #size-cell =3D <0>; - - wcd9310: audio-codec@1,0{ - compatible =3D "slim217,60"; - reg =3D <1 0>; - }; - }; --=20 2.34.1 From nobody Sat May 4 05:16:41 2024 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E15C3C04A95 for ; Wed, 28 Sep 2022 15:21:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234787AbiI1PVm (ORCPT ); Wed, 28 Sep 2022 11:21:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234702AbiI1PVK (ORCPT ); Wed, 28 Sep 2022 11:21:10 -0400 Received: from mail-lj1-x22f.google.com (mail-lj1-x22f.google.com [IPv6:2a00:1450:4864:20::22f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AD2D5C362 for ; Wed, 28 Sep 2022 08:20:47 -0700 (PDT) Received: by mail-lj1-x22f.google.com with SMTP id t16so10704318ljh.3 for ; Wed, 28 Sep 2022 08:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=Ap86oaX2me6LTIfHjN4MG9KcHVBwjDqudIZuJpAwdCI=; b=r0nknO9O4RLaj4hC2Y+XYYFZgnRhgnHvRdHYbBHhBMYvEHW3c7GIcYsIDH7b3XoE+O 9eWnl61JVTAwK0VMgQPw9TXIgU8+w0Vt0qzMEIfPLLkZd7BkW8LOPmr+C5KpwuXknb7t tdws40dJtduiv7OCW8mACe0Mv/6HkuEvV4pcpw4kQcDofryBg8ND4gAIx3tXkgCgnz7C y4o4uIFCQgomvp6Ex2vx2kJ0fVL4BxY+ofuP+BGJBPJ0KmR7wVDJ1XU3PeYdUonwKrlK fKn4pIq1YdssWhJ0g4+jwFUr1wEGMEGotptptvY5hFMIA2N8HSPt8tJ7/sy6xsO7eXLc Kbcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=Ap86oaX2me6LTIfHjN4MG9KcHVBwjDqudIZuJpAwdCI=; b=2GsezUEVDjB9HK6ubnCqy2Ajs4zNISXHuHdjGycKX1h/ryF7r6mQhnHvetu6Urb9hp bmi2gaknINnWOhbBwFibkX/aUq7a36aRAVsqpQBtdHIfqmNp3GCuC3G3v6G8YoH8M/sp lHEJRd4t1SeXm1SKDatQ94ZMaufZRuN86E+0nogoLusO2eW/Oe0P/i+aQUw9Ub7MKMZc I4yaizEDRVitVJX/LNkgj93h5gPeaRoskNq0TyB6/GxfD3RcWpPwN9dyGFreb67+Cw6Z xqm/W6f86nE+re37aDIOqV6sMYAO15cgBO7/21IgoeLjYbqEg8bwcbRb9yrb4ppSaJ39 09XA== X-Gm-Message-State: ACrzQf3/yO13V67sfvcnXxfwZldhhgNHd6DyIT8dsW3AldaiPj/41Q8Y gDkW8Hcu5qwSgA+yECMtbXv7YQ== X-Google-Smtp-Source: AMsMyM7kw7pi094V6o9qurMVZ0dvLd2F1wG+kqjI0ZCAc2o0mrbyTly60r9u6BoNnfLe2Ce7XGhA/Q== X-Received: by 2002:a2e:ba08:0:b0:26c:14d6:9b97 with SMTP id p8-20020a2eba08000000b0026c14d69b97mr11872009lja.222.1664378446051; Wed, 28 Sep 2022 08:20:46 -0700 (PDT) Received: from krzk-bin.. (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id v2-20020a056512048200b00497a41b3a42sm503023lfq.88.2022.09.28.08.20.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 08:20:45 -0700 (PDT) From: Krzysztof Kozlowski To: Srinivas Kandagatla , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 11/11] dt-bindings: slimbus: qcom,slim-ngd: convert to DT schema Date: Wed, 28 Sep 2022 17:20:27 +0200 Message-Id: <20220928152027.489543-12-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> References: <20220928152027.489543-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Convert the Qualcomm SoC SLIMBus Non Generic Device (NGD) controller bindings to DT Schema. During conversion add iommus already present in DTS and extend the example based on SDM845. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../bindings/slimbus/qcom,slim-ngd.yaml | 120 ++++++++++++++++++ .../bindings/slimbus/slim-ngd-qcom-ctrl.txt | 82 ------------ 2 files changed, 120 insertions(+), 82 deletions(-) create mode 100644 Documentation/devicetree/bindings/slimbus/qcom,slim-ngd= .yaml delete mode 100644 Documentation/devicetree/bindings/slimbus/slim-ngd-qcom= -ctrl.txt diff --git a/Documentation/devicetree/bindings/slimbus/qcom,slim-ngd.yaml b= /Documentation/devicetree/bindings/slimbus/qcom,slim-ngd.yaml new file mode 100644 index 000000000000..abf61c15246e --- /dev/null +++ b/Documentation/devicetree/bindings/slimbus/qcom,slim-ngd.yaml @@ -0,0 +1,120 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/slimbus/qcom,slim-ngd.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SoC SLIMBus Non Generic Device (NGD) Controller + +maintainers: + - Krzysztof Kozlowski + - Srinivas Kandagatla + +description: + SLIMBus NGD controller is a light-weight driver responsible for communic= ating + with SLIMBus slaves directly over the bus using messaging interface and + communicating with master component residing on ADSP for bandwidth and + data-channel management + +properties: + compatible: + enum: + - qcom,slim-ngd-v1.5.0 # for MSM8996 + - qcom,slim-ngd-v2.1.0 # for SDM845 + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + dmas: + maxItems: 2 + + dma-names: + items: + - const: rx + - const: tx + + interrupts: + maxItems: 1 + + iommus: + maxItems: 1 + +patternProperties: + "^slim@[0-9a-f]+$": + type: object + $ref: slimbus.yaml# + description: + Each subnode represents an instance of NGD + + properties: + reg: + maxItems: 1 + + unevaluatedProperties: false + +required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + - dmas + - dma-names + - interrupts + +additionalProperties: false + +examples: + - | + #include + #include + + slim-ngd@171c0000 { + compatible =3D "qcom,slim-ngd-v2.1.0"; + reg =3D <0x171c0000 0x2c000>; + interrupts =3D ; + + dmas =3D <&slimbam 3>, <&slimbam 4>; + dma-names =3D "rx", "tx"; + iommus =3D <&apps_smmu 0x1806 0x0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + slim@1 { + reg =3D <1>; + #address-cells =3D <2>; + #size-cells =3D <0>; + + codec@1,0 { + compatible =3D "slim217,250"; + reg =3D <1 0>; + slim-ifc-dev =3D <&wcd9340_ifd>; + + #sound-dai-cells =3D <1>; + + interrupts-extended =3D <&tlmm 54 IRQ_TYPE_LEVEL_HIGH>; + interrupt-controller; + #interrupt-cells =3D <1>; + + #clock-cells =3D <0>; + clock-frequency =3D <9600000>; + clock-output-names =3D "mclk"; + qcom,micbias1-microvolt =3D <1800000>; + qcom,micbias2-microvolt =3D <1800000>; + qcom,micbias3-microvolt =3D <1800000>; + qcom,micbias4-microvolt =3D <1800000>; + + #address-cells =3D <1>; + #size-cells =3D <1>; + + reset-gpios =3D <&tlmm 64 GPIO_ACTIVE_HIGH>; + + /* Rest of the WCD9340 codec */ + }; + }; + }; diff --git a/Documentation/devicetree/bindings/slimbus/slim-ngd-qcom-ctrl.t= xt b/Documentation/devicetree/bindings/slimbus/slim-ngd-qcom-ctrl.txt deleted file mode 100644 index 7c3d9eb6af5d..000000000000 --- a/Documentation/devicetree/bindings/slimbus/slim-ngd-qcom-ctrl.txt +++ /dev/null @@ -1,82 +0,0 @@ -Qualcomm SLIMBus Non Generic Device (NGD) Controller binding - -SLIMBus NGD controller is a light-weight driver responsible for communicat= ing -with SLIMBus slaves directly over the bus using messaging interface and -communicating with master component residing on ADSP for bandwidth and -data-channel management - -- compatible: - Usage: required - Value type: - Definition: must be "qcom,slim-ngd-v.." - must be one of the following. - "qcom,slim-ngd-v1.5.0" for MSM8996 - "qcom,slim-ngd-v2.1.0" for SDM845 - -- reg: - Usage: required - Value type: - Definition: must specify the base address and size of the controller - register space. -- dmas - Usage: required - Value type: - Definition: List of rx and tx dma channels - -- dma-names - Usage: required - Value type: - Definition: must be "rx" and "tx". - -- interrupts: - Usage: required - Value type: - Definition: must list controller IRQ. - -#address-cells - Usage: required - Value type: - Definition: Should be 1, reflecting the instance id of ngd. - -#size-cells - Usage: required - Value type: - Definition: Should be 0 - -=3D NGD Devices -Each subnode represents an instance of NGD, must contain the following -properties: - -- reg: - Usage: required - Value type: - Definition: Should be instance id of ngd. - -#address-cells - Usage: required - Refer to slimbus/bus.txt for details of the common SLIMBus bindings. - -#size-cells - Usage: required - Refer to slimbus/bus.txt for details of the common SLIMBus bindings. - -=3D EXAMPLE - -slim@91c0000 { - compatible =3D "qcom,slim-ngd-v1.5.0"; - reg =3D <0x91c0000 0x2c000>; - interrupts =3D <0 163 0>; - dmas =3D <&slimbam 3>, <&slimbam 4>; - dma-names =3D "rx", "tx"; - #address-cells =3D <1>; - #size-cells =3D <0>; - ngd@1 { - reg =3D <1>; - #address-cells =3D <1>; - #size-cells =3D <1>; - codec@1 { - compatible =3D "slim217,1a0"; - reg =3D <1 0>; - }; - }; -}; --=20 2.34.1