From patchwork Thu Mar 2 11:57:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 658206 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 9B053C7EE30 for ; Thu, 2 Mar 2023 11:58:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229862AbjCBL6b (ORCPT ); Thu, 2 Mar 2023 06:58:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229661AbjCBL63 (ORCPT ); Thu, 2 Mar 2023 06:58:29 -0500 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 424767EFD for ; Thu, 2 Mar 2023 03:58:01 -0800 (PST) Received: by mail-wr1-x42e.google.com with SMTP id f11so4362482wrv.8 for ; Thu, 02 Mar 2023 03:58:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677758271; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zax1e/yJTS424/9Wee2++pptHP3LVztZwrLQH3xAsR8=; b=e+wJc+dGfezyJhC9Ii7LBQqCcRLnZ0oEZ+MsSMvT7hFUWBRF9T/+rqzsw3i3w662BZ HNFD297Tj04qm5RnftgJmb9Mgf4kfpHgk5C+L6eY7p7FnlwYwv5lBNQY4nvhnzaG+zst QglHVOsZVGtvjz2Gi/a07gkIrdHquCzwPRARbNWwmVe2g/DrI7J+t8VzbeWCHKSmws0l PLhzc58GXUvVm9bZn3hhkWcGUUA1JhwIbRjvsf695SLrJAry2+s276tb0fDCbKyIodDH E5bST+4Ru+57ZANRQPFOz5yI/lQJvoHntXSkqy8CUverSoBDwjFwDE+LXhfTAvLBO3Lv f2fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677758271; 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:message-id:reply-to; bh=zax1e/yJTS424/9Wee2++pptHP3LVztZwrLQH3xAsR8=; b=jrbZAOAEUc1PJ9DuKYlW2rTEcU8+mqczMcJwMyQLD2DUxvhqi/9P9rnzES0+beRnIc xLZP4xT9xA5SQudmROiaBl60gP35X0rw7ZeAVU+DGu8I+6WbDG0Dt74tRXFDQes3ySq1 j8EiwUOXNtEseLnGQYde0PCs3GwlYK3xAzji7ik4kjgS0GXuJFfwWH9/NfviSerbmUTN +aQpb2nd2ge4jMYBxv195f7g0M32AoMbaKcYh2EwD/ITbYYU6UBrqLOVdeX04J+88bym YVkMQL+xcgf2vHJsCv2f5/+2UzGBLu2Qhgb1i0aauKRCN7NsQKeV3Urwc3qWz7TiBdku Dq6A== X-Gm-Message-State: AO0yUKXHSs5e1aMA+0zrOKVTIADHALrvHJ5iCeUgPNit39NRFipfz484 fhIWwEC/w68swWsmTl8zIUYNeQ== X-Google-Smtp-Source: AK7set/W170Hj8fyDnDvQU9/NhwnU506gB/47nYOKGAQ4izd7jcOeyNSUg4Ush6gjK5oD8pHTfjd+A== X-Received: by 2002:a5d:4e44:0:b0:2c7:f84:3c41 with SMTP id r4-20020a5d4e44000000b002c70f843c41mr6971403wrt.55.1677758270699; Thu, 02 Mar 2023 03:57:50 -0800 (PST) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id v16-20020a5d4a50000000b002c5526234d2sm15298209wrs.8.2023.03.02.03.57.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Mar 2023 03:57:49 -0800 (PST) From: Srinivas Kandagatla To: agross@kernel.org, andersson@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, konrad.dybcio@linaro.org, johan+linaro@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 1/4] arm64: dts: qcom: sc8280xp: fix rx frame shapping info Date: Thu, 2 Mar 2023 11:57:38 +0000 Message-Id: <20230302115741.7726-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20230302115741.7726-1-srinivas.kandagatla@linaro.org> References: <20230302115741.7726-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Some of the SoundWire frameshapping data seems incorrect, fix these values. Fixes: 1749a8ae49a3 ("arm64: dts: qcom: sc8280xp: add SoundWire and LPASS") Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/sc8280xp.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi index f9aadf8209d5..022b0c041341 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp.dtsi @@ -1924,12 +1924,12 @@ qcom,ports-sinterval-low = /bits/ 8 <0x03 0x1f 0x1f 0x07 0x00>; qcom,ports-offset1 = /bits/ 8 <0x00 0x00 0x0B 0x01 0x00>; qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x0B 0x00 0x00>; - qcom,ports-hstart = /bits/ 8 <0xff 0x03 0xff 0xff 0xff>; - qcom,ports-hstop = /bits/ 8 <0xff 0x06 0xff 0xff 0xff>; + qcom,ports-hstart = /bits/ 8 <0xff 0x03 0x00 0xff 0xff>; + qcom,ports-hstop = /bits/ 8 <0xff 0x06 0x0f 0xff 0xff>; qcom,ports-word-length = /bits/ 8 <0x01 0x07 0x04 0xff 0xff>; - qcom,ports-block-pack-mode = /bits/ 8 <0xff 0x00 0x01 0xff 0xff>; + qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0x01 0xff 0xff>; qcom,ports-lane-control = /bits/ 8 <0x01 0x00 0x00 0x00 0x00>; - qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0x00>; + qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff 0xff>; #sound-dai-cells = <1>; #address-cells = <2>; @@ -2029,15 +2029,15 @@ qcom,din-ports = <4>; qcom,dout-ports = <0>; - qcom,ports-sinterval-low = /bits/ 8 <0x01 0x03 0x03 0x03>; - qcom,ports-offset1 = /bits/ 8 <0x01 0x00 0x02 0x01>; + qcom,ports-sinterval-low = /bits/ 8 <0x01 0x01 0x03 0x03>; + qcom,ports-offset1 = /bits/ 8 <0x01 0x00 0x02 0x00>; qcom,ports-offset2 = /bits/ 8 <0x00 0x00 0x00 0x00>; qcom,ports-block-pack-mode = /bits/ 8 <0xff 0xff 0xff 0xff>; qcom,ports-hstart = /bits/ 8 <0xff 0xff 0xff 0xff>; qcom,ports-hstop = /bits/ 8 <0xff 0xff 0xff 0xff>; - qcom,ports-word-length = /bits/ 8 <0xff 0x00 0xff 0xff>; + qcom,ports-word-length = /bits/ 8 <0xff 0xff 0xff 0xff>; qcom,ports-block-group-count = /bits/ 8 <0xff 0xff 0xff 0xff>; - qcom,ports-lane-control = /bits/ 8 <0x00 0x01 0x00 0x00>; + qcom,ports-lane-control = /bits/ 8 <0x00 0x01 0x00 0x01>; status = "disabled"; }; From patchwork Thu Mar 2 11:57:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 658205 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 76A23C7EE30 for ; Thu, 2 Mar 2023 11:58:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229968AbjCBL6d (ORCPT ); Thu, 2 Mar 2023 06:58:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229661AbjCBL6c (ORCPT ); Thu, 2 Mar 2023 06:58:32 -0500 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D97A4C141 for ; Thu, 2 Mar 2023 03:58:02 -0800 (PST) Received: by mail-wr1-x42c.google.com with SMTP id r18so16285122wrx.1 for ; Thu, 02 Mar 2023 03:58:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1677758273; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=u9XPg1Z52HjMq8E0v0qy12uZXmzko/h/NRVbdc0uh8s=; b=i3QL/EwRJB2/0Ne1csLoG3EdF3JqWTwRZ8H5AvroPf9H2zOe+fHIej+kO2r14Fsxaw PdxyIElrMVK9ATDXMyRhbtXnq2vPabZ2bsx+lCgGWXW1Y/gOSu0cJEnDqiUr8oVYR8nM 6MrUbGCPvHzGAZlXB3KrBKTIDts8odJmReD8zDRLslUgIkrsCpddG/n4gnphMovgx0IP LPFFx6SeSc9jz65eTsLqCxMV+tPASATsYDveODXBUx+6rZ9OhkO4OJRjxODvvhyqZJIB b5BZ6t2Cj52BptS4Gw6JejdV/cxhGnyqfMCXtY7ETV50R8M3zw+fg4nmHIH2ZPn4NQf8 Mg9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677758273; 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:message-id:reply-to; bh=u9XPg1Z52HjMq8E0v0qy12uZXmzko/h/NRVbdc0uh8s=; b=e3BiodGA/0U13zUtzImfyhsQ4xYJjqC9XywxL8T+elzppa6J05o3LZzmUFSyILbnoY WHby7J8sNkbJZYjvf/97QB09ng0Y2A6Cwy6r5cn5kFKu+iLZZt1eBlronWf1ZVuAePod 0V7jKgWCnOpB+hddz5fkNVr+TAgLsVeKng3Qb0b635qHel/m2gMKO/WgFbdooHyEDt4Q EtaPICJo2x8KC6B5AwRE/CAff2lqli9M2t+CjTsxnWGP7nkZUfOD9qcuOo+McNrEAH6n 4zMNYZd57XgFvscJIdMME1zIr8Tlow0pNqa2QoyeMDLHsSsXaZKZZWMaiiMOfiD5BN8/ VL2w== X-Gm-Message-State: AO0yUKWGa10CMSxdOLefQ1gANMuNq7NrMwax0vvrf7R3iTbk3hLmTa/B LCAXwoszZuFENUKC8WTYNHsuF80WOVPOgaMV X-Google-Smtp-Source: AK7set+ce1McbLrytRvdw2eK37qzNDxYg7cD5idrh0Tf9V6wFeG6zE0K5jPlSmnnJcZ+eTs5BOhsFQ== X-Received: by 2002:a5d:6b10:0:b0:2c5:55cf:b1ab with SMTP id v16-20020a5d6b10000000b002c555cfb1abmr7226256wrw.48.1677758273329; Thu, 02 Mar 2023 03:57:53 -0800 (PST) Received: from localhost.localdomain ([5.133.47.210]) by smtp.gmail.com with ESMTPSA id v16-20020a5d4a50000000b002c5526234d2sm15298209wrs.8.2023.03.02.03.57.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Mar 2023 03:57:52 -0800 (PST) From: Srinivas Kandagatla To: agross@kernel.org, andersson@kernel.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, konrad.dybcio@linaro.org, johan+linaro@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 3/4] arm64: dts: qcom: sc8280xp-x13s: fix dmic sample rate Date: Thu, 2 Mar 2023 11:57:40 +0000 Message-Id: <20230302115741.7726-4-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20230302115741.7726-1-srinivas.kandagatla@linaro.org> References: <20230302115741.7726-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The version of dmic that is on X13s panel supports clock frequency of range 1 Mhz to 4.8 MHz for normal operation. So correct the existing node to reflect this. Fixes: 8c1ea87e80b4 ("arm64: dts: qcom: sc8280xp-x13s: Add soundcard support") Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 198a81405e6e..d18d405d1776 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -1111,7 +1111,7 @@ vdd-micb-supply = <&vreg_s10b>; - qcom,dmic-sample-rate = <600000>; + qcom,dmic-sample-rate = <4800000>; status = "okay"; };