From patchwork Sun Jul 30 20:19:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 708309 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 84AE0C04A94 for ; Sun, 30 Jul 2023 20:19:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230052AbjG3UT5 (ORCPT ); Sun, 30 Jul 2023 16:19:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229811AbjG3UT4 (ORCPT ); Sun, 30 Jul 2023 16:19:56 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16F821BC7 for ; Sun, 30 Jul 2023 13:19:17 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-522294c0d5bso5036188a12.2 for ; Sun, 30 Jul 2023 13:19:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690748356; x=1691353156; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=zrugs3kVf4xOu8W4xu4wSVCnJNjPw4eUQaC+kFB3F8o=; b=lxhWc8iPXVlN8WEZg+145fUGzpQyvDHGonAG9AntKtNUcAlQ4PgIhK7oa/GSBVnf+g n4uY3A+sJmshd+c31CODXdvOaqbRnMFRXIhM8BU0fm3YBgDusuz9zgNs12FjEjl+SKj2 FwDZXNkmTxqkxdn4D+YKvVIXM1RB93PPpaN4z8pkwO0bu2p9h5sV8iOEIzB7q9VJhrCG l4VslssD+VW2jDCUpA8yvhCbs3k6pP8lfv1EQRlutWRh97Cn+cfyoIi/CC7eEuTftp7l ipD9pih3NKIImpoj9fMJr1At9VoaMg8JQGLZb35o4y29xQjyquVPsfYfJK+Lmx0yKKUq aozg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690748356; x=1691353156; 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=zrugs3kVf4xOu8W4xu4wSVCnJNjPw4eUQaC+kFB3F8o=; b=ZOOB7hwapm0L4Dus4K79aH5W+79kOePYIuiOUKNdVuSmCDoBBDSmgfbxqS5xPzxL2g fRrGyywdeCmGYi8nZHxVSOUPqwMlaLGujQMzd51JqdUibbLWp6mo5oTKs+fgJmdQW+jV dfWd4tkFA18yzFHIKUlEE1HA3nu7hXFZi2BcEZMmvrOsrDd+Ifo7FGRKm1NLXB3q4GqW eeXv+7EssxcOlSYgOQ9zx9AoMmlDdel1glr0Srw8njLI986bxjz8PLqhOoGeRsk+5CJk x4hiZAsP3Ex4NK9c5bg00LqXG0Bnr5sJAIsQCk0649VYLsWx6f/OAAoJX/SeQlE9USHB Fh8g== X-Gm-Message-State: ABy/qLalWSqCRuqe+srpaYZRCnwIZf7aqpCsRBuKsAyVDE1Nwj+NWccw f23MChYtWsDIUmJpm26fpSYzBA== X-Google-Smtp-Source: APBJJlFLuxauzh5VSmt+2+WBOf40rHSiOntFhb/dxnkUHzj2qDxBfOO9kgv0nx5AeOldQAcWvy9dyQ== X-Received: by 2002:a17:906:8462:b0:99b:e3a9:79a1 with SMTP id hx2-20020a170906846200b0099be3a979a1mr4765383ejc.54.1690748355912; Sun, 30 Jul 2023 13:19:15 -0700 (PDT) Received: from krzk-bin.. ([178.197.222.183]) by smtp.gmail.com with ESMTPSA id gq15-20020a170906e24f00b00992b510089asm5066885ejb.84.2023.07.30.13.19.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jul 2023 13:19:15 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/2] arm64: dts: qcom: msm8953-tissot: use 0 as speaker DAI cells Date: Sun, 30 Jul 2023 22:19:12 +0200 Message-Id: <20230730201913.70667-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org MAX98927 speaker amplifier has only one DAI, so DAI cells can be just 0 (as expected by bindings). Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts b/arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts index 831d3a42b583..61ff629c9bf3 100644 --- a/arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts +++ b/arch/arm64/boot/dts/qcom/msm8953-xiaomi-tissot.dts @@ -96,7 +96,7 @@ max98927_codec: audio-codec@3a { vmon-slot-no = <1>; imon-slot-no = <1>; - #sound-dai-cells = <1>; + #sound-dai-cells = <0>; }; led-controller@45 { From patchwork Sun Jul 30 20:19:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 708510 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 C6071C001DF for ; Sun, 30 Jul 2023 20:20:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230064AbjG3UUE (ORCPT ); Sun, 30 Jul 2023 16:20:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230048AbjG3UUA (ORCPT ); Sun, 30 Jul 2023 16:20:00 -0400 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 639A110E7 for ; Sun, 30 Jul 2023 13:19:19 -0700 (PDT) Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-99bf91956cdso232339866b.3 for ; Sun, 30 Jul 2023 13:19:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1690748357; x=1691353157; 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=out/Q40ODaDczCCdOyB/xqmUqSDZmlaofXUk01AB65g=; b=fKxtcaSdcT8bH7VrE+QhAegnLRS8O6Nm9x/wziovFu8TnP53TX/XXLEqXZhnQKJbhB Nki8wL9phBqkEHDniP5QzuTTyn4QJLQxAixyocskvgebj8MQOzJI36YoQP14JJytQ7MU bvM3qv/a0RQ7ZCoa5t6ISrCQoum+Te1I4sTT3drdrM/lHb3/sjHu/lIddRe6g+8vRnBM xtecL9ak0fa25jBRS72ItWM0J0zPIbc+uJUq/iOqXVdA7T5RBUA1L+X+sGGpwNCJtI0P nIv2RwXybmZygEz68GYpsb6aCDv/OOeAr2XvWPOPa5cTpvASF46ELPb2BMWcgTysm49D nHdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690748357; x=1691353157; 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=out/Q40ODaDczCCdOyB/xqmUqSDZmlaofXUk01AB65g=; b=i8546FcSUCOlGM5gwtKqh6zu1mfguShQ6P/Zc/Qo+19afyJKhNq169WUSoGEst4Au6 aG2X/w0P55RY7VonH8PM6kGhnBms1Wt14jmyG5SmXPp95y9v7xr0ZrhIZirfxqrhvq8e +KALZrrhwGtD5PVkdDdsiX5/VJjtZZeB6TNhcrWkNBKiPPBTnEiHuwkQ/blr5VyrmPhr 7OQzUoNSkN7zkae9nu94yBK87DpbRpeTOe4pQn+mUtSIh3RZtt6gPiqpbWo8u63EeMT0 PQWGM7YIhDupV/2IYQUiOPmRLULSOIRl6fmynm7XmCH6X/TKcOqsYkLkigj2jUvveBYa JZUw== X-Gm-Message-State: ABy/qLZ2pmSK+Ap8N5Y/1nkNDyoVNEJ8UupfJbHPOrMMJSxFr1QUE9B3 YxiO1GG9JQTgGcFnraBOrkJr8Q== X-Google-Smtp-Source: APBJJlFvEEGxJ/hMAIyBj4/fO1CefNoL30i3WJ4oALs3HotLTPXCDb47HutWaE1MorBkVGXhw0AlOA== X-Received: by 2002:a17:906:300f:b0:99b:c949:5ef9 with SMTP id 15-20020a170906300f00b0099bc9495ef9mr4853164ejz.11.1690748357349; Sun, 30 Jul 2023 13:19:17 -0700 (PDT) Received: from krzk-bin.. ([178.197.222.183]) by smtp.gmail.com with ESMTPSA id gq15-20020a170906e24f00b00992b510089asm5066885ejb.84.2023.07.30.13.19.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Jul 2023 13:19:17 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 2/2] arm64: dts: qcom: sdm845-enchilada: use 0 as speaker DAI cells Date: Sun, 30 Jul 2023 22:19:13 +0200 Message-Id: <20230730201913.70667-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230730201913.70667-1-krzysztof.kozlowski@linaro.org> References: <20230730201913.70667-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org MAX98927 speaker amplifier has only one DAI, so DAI cells can be just 0 (as expected by bindings). Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts index 62fe72ff3763..4005e04d998a 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts @@ -39,7 +39,7 @@ &i2c4 { max98927_codec: max98927@3a { compatible = "maxim,max98927"; reg = <0x3a>; - #sound-dai-cells = <1>; + #sound-dai-cells = <0>; pinctrl-0 = <&speaker_default>; pinctrl-names = "default"; @@ -66,7 +66,7 @@ &sound { &speaker_playback_dai { codec { - sound-dai = <&max98927_codec 0>; + sound-dai = <&max98927_codec>; }; };