From patchwork Fri Nov 25 15:52:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 628654 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 7B864C4332F for ; Fri, 25 Nov 2022 15:52:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229698AbiKYPwz (ORCPT ); Fri, 25 Nov 2022 10:52:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229623AbiKYPwx (ORCPT ); Fri, 25 Nov 2022 10:52:53 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B5162715B for ; Fri, 25 Nov 2022 07:52:52 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id p8so7479217lfu.11 for ; Fri, 25 Nov 2022 07:52:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=1S80mqqzZPV4x0fjfvSYuvzqcnujfLUcEw9LE2vdO30=; b=rxTk+ofk5/kp/tBgvUncx34Wmy8PgkdH58ZnTcqVFqL6NiwtquGNdY9uMuSjTxWRU4 3ABUuer/n0skicY6HzPI/ItzipsC74K25KnLi71x6JCoC4olV7sXe815Frn+7irN2KBI OggqKwajRyS7oiMjBW9sF+eQoLtbULqADkFczb69mTXl573T/acIro0SXY4bVxOVTFv+ IdDONAr3bVmK5L5A1DrmgAYz4xWZSK0YAuPR/ISkMJUCESleloB4Ra4PvliqpfJsRJJH uqmhmgT/CxRAQT+y3ZBuqEXVDIaYHb9ATpEaCKoJyYFF+Er8bDb1d2j/scrgK6YtTPqM nA9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1S80mqqzZPV4x0fjfvSYuvzqcnujfLUcEw9LE2vdO30=; b=SDXh2RMEb1R9lPhfbI5nuSZ+DI0kafYgY1HtbOcrEcVRkAOFfwzvKgqUr2y4tJZNKh P5YxSuioGzkCt2v91+zHmMKdglm1MbbamS/bPxyajyMKGmtKWrzSnyz5eXw95yG9JivT eelflQlftzQ145FRqwnfj5azr+uj2vz/EmQH56qeFwn+p1bprHTR5M5+JRJh5VqAMv4c tHf9KL58nKFW3Ln8bn8Xw8R25+pdOvNC9dZwHbiPjh/ISygawm7FcLRTwHoDvbVk3Qxa /MHhoJ3IZO2DE7RChA+gYYh5VDsYpB5hhEkLqCH3nddEimXK5bXeLBq9WCIOsWTrS/s1 q83A== X-Gm-Message-State: ANoB5pnZwgi0srrzChVX+Pfii09fVG8E43w6ZseXERx8KQ5L7602m/Qr gTk5nQ7XhwcXi5i14eXPLsAWqw== X-Google-Smtp-Source: AA0mqf6X/KnbJCFxPa7UnT2OxSIX0wk6JLemR+lPA+e4v/zQ+I1V5mQKQC1w//ayTYER8W7yYAXiIQ== X-Received: by 2002:a19:5e58:0:b0:4a7:5a63:71e1 with SMTP id z24-20020a195e58000000b004a75a6371e1mr6959397lfi.399.1669391570441; Fri, 25 Nov 2022 07:52:50 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id t14-20020a05651c204e00b002778a76a3c3sm391488ljo.112.2022.11.25.07.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Nov 2022 07:52:50 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Srinivas Kandagatla Subject: [PATCH v4 0/3] arm64: dts: qcom: sm8450-hdk: add sound support Date: Fri, 25 Nov 2022 16:52:44 +0100 Message-Id: <20221125155247.501203-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, Changes since v3 ================ 1. Re-order reg and sound-dai-cells. Changes since v2 ================ 1. Patch 2: Use lower-case hex. 2. Patch 3: Use ACTIVE_LOW for qcom,wcd9380-codec reset-gpios. https://lore.kernel.org/all/20221116053817.2929810-11-dmitry.torokhov@gmail.com 3. Add Rb tags. Changes since v1 ================ 1. Patch 2: - Whitespace cleanups. - Correct include - do not use deprecated one. 2. Patch 3: - Sort. - Add Rb tag. - Correct include - do not use deprecated one and drop q6asm.h (not used). Description =========== Initial work (still partially in progress) adding audio to HDK8450 board. Working/tested: - speakers - one channel of headset The DTS patches do not have particular dependencies, however they: 1. Use updated ASoC bindings: https://lore.kernel.org/linux-arm-msm/20221111113547.100442-1-krzysztof.kozlowski@linaro.org/T/#t 2. For full operation need changes in Soundwire and Qualcomm ASoC drivers, not yet upstreamed: https://github.com/krzk/linux/commits/wip/sm8450 Booting remoteproc without these changes will report errors, but these are expected at this stage. Best regards, Krzysztof Cc: Srinivas Kandagatla Srinivas Kandagatla (3): arm64: dts: qcom: sm8450: add GPR node arm64: dts: qcom: sm8450: add Soundwire and LPASS arm64: dts: qcom: sm8450-hdk: add sound support arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 160 ++++++++++++ arch/arm64/boot/dts/qcom/sm8450.dtsi | 334 ++++++++++++++++++++++++ 2 files changed, 494 insertions(+)