Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp8018283ioo; Fri, 3 Jun 2022 20:06:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTpHX7+CFo4rTfrZz8dIXPpSQU3r/ZM22Lj5MELncf8KulVBLw/sDVHhoW4XO6Q/LhGr02 X-Received: by 2002:a05:6402:b09:b0:42d:bd80:11ac with SMTP id bm9-20020a0564020b0900b0042dbd8011acmr14392842edb.244.1654312003709; Fri, 03 Jun 2022 20:06:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654312003; cv=none; d=google.com; s=arc-20160816; b=k2EUMviNgtxMRCRYMFo8wTXQhrnVqwS45BDrDiG0rZujMYgZciKs9Lunj1bvU8rF6S hCvRWiNKUiplT77QaNw0zcgGgNPdwoZ/WS2QePgPD33WP+GJBLVc1t0Ba1QuEMlxW0T6 in7n2ee8LOamoM9PaCsBaaeAokkImxt9g9hPekLFPJ8OwHcSW36WVAY5odxBJPpHUaGq +0yyHJsfGZFSoP5m8T8E1x6HQACctnrCogirOJWGnuZqYHbs6II1CJ8vV7TMlb3Y6Odr b6SrYW+ujl1CP5t/kC3mJM/41BPHSXszJCv75WYd9/hwtyDOlh1rECgkqnOWzkGDFNN/ 3FvA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=XmlvkluiSNMj24D7hJPq2KWkb3UetBzXUSitChCIpTg=; b=u55n8OqFx4GlPnUdroh9IQ0emPbT3Mwge2SpUnGJw6ttufHo6nML1qubUavZASkOV/ fyNXR96ni3XjmIwsciyjUkJapGgGp2pGaApZrTui6fFSjccDOvlS2OwQqLj93OlvDa2u VoO4f/NQUHVCNwZB6+roLqHiOgaYPiiYykBTFS5U98VUDQ+KD7E94FYFLunkqm4OcohP rif4MBqlWm1dvyn9uVrS4q8OWXILpjjb19lV+Ut+SG/zEw0qI/FcVmOhRiv/Yyz1T0Qt A9dU2sEOjuqm2RYYmrFPMl34b5JZTDAlYd7TWh4ib80YIUDt4ZVP59UOTfa75UkJVuoe f13Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=RaqsjKpG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v9-20020a056402348900b0042af9d59d05si11813015edc.25.2022.06.03.20.06.19; Fri, 03 Jun 2022 20:06:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=RaqsjKpG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243180AbiFCJrf (ORCPT + 99 others); Fri, 3 Jun 2022 05:47:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243178AbiFCJrW (ORCPT ); Fri, 3 Jun 2022 05:47:22 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D8A0913D55 for ; Fri, 3 Jun 2022 02:47:15 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id n10so14901832ejk.5 for ; Fri, 03 Jun 2022 02:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XmlvkluiSNMj24D7hJPq2KWkb3UetBzXUSitChCIpTg=; b=RaqsjKpGbIoD8x44wAMevrMZhgC+gxnWT0bU2purC+/B0SEvyuWziiWNzzZQiDANlb NL/SOkwOyYwSdhKUQLFosatZsxO0Z1mm701fBAXkXqQ+YLRGmXqMRg7cr7Fqgfn/FQ4G Cx/d5mnDae60/QIGBwN13vBST2fv/231WUzkzD5zbuP3mquwvpPA6iCx0hvw/otlgrZB pTsPP37CZ1LWuh1Y9nqvmaDG7xT4zezrllKvI+HYxgsQO8kA2ZLDWdxL5ULORQrUT7dd ZoAm/LU6hGQ/UegRhUhh/erylJ1s9DTCfaHGq8v9oI+QNUGtC+W6/qnL2542z8065uCJ 9DBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XmlvkluiSNMj24D7hJPq2KWkb3UetBzXUSitChCIpTg=; b=h/cjbDyaLRFfaESauwZusG6tTEpOKuxinI9mSU+n3x5lvTRw934Z3dxmHFAkWneSrf OOqywKn8WI0cNO694YWUQzSXnmetqIeldEBp+QGiUwdgDyJJksRcgPBBFrRB1BwDbjSb OicWut543nen6QTZBxO1O6xNtf/2yhw0E5qNfC/NoogKX/wlDo70ceaKLt4anpdRLd1j A2+XQBnpR8SXS6U/dxIRtfGf6zEOoZqxgbNPvgC8RgCB51zKS8jqUxJ/aLT+nvJONY5/ FlwbKrNSS1YUWB/nlRdN4+J1Q+K2NwzcMRaa96Tcl/SOBeYlTUs/RBbqZLC0ChEBgpVe l6XA== X-Gm-Message-State: AOAM530jfCsRdnvBftHBOk3uPp6evg5tzsdOekvYX0GUH5qxNbfkmON3 /Ih1G5ufp+cnkv/57r5FyHFkeO1i+3er/g== X-Received: by 2002:a17:906:6a27:b0:708:1282:cbe9 with SMTP id qw39-20020a1709066a2700b007081282cbe9mr8052825ejc.186.1654249634363; Fri, 03 Jun 2022 02:47:14 -0700 (PDT) Received: from otso.. (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id a15-20020a170906274f00b006f3ef214e42sm2661009ejd.168.2022.06.03.02.47.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 02:47:13 -0700 (PDT) From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: qcom: sdm845*: replace i2s reg with constant Date: Fri, 3 Jun 2022 11:47:09 +0200 Message-Id: <20220603094710.64591-1-luca.weiss@fairphone.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Make it easier to understand what the reg in those nodes is by using the constants provided by qcom,q6dsp-lpass-ports.h. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 4 ++-- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 2 +- arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index 0e63f707b911..f627d6b7311b 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -830,7 +830,7 @@ &qupv3_id_2 { &q6afedai { qi2s@16 { - reg = <16>; + reg = ; qcom,sd-lines = <0 1 2 3>; }; }; @@ -838,7 +838,7 @@ qi2s@16 { /* TERT I2S Uses 1 I2S SD Lines for audio on LT9611 HDMI Bridge */ &q6afedai { qi2s@20 { - reg = <20>; + reg = ; qcom,sd-lines = <0>; }; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index 194ebeb3259c..2fbb8b024646 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -609,7 +609,7 @@ resin { /* QUAT I2S Uses 4 I2S SD Lines for audio on LT9611 HDMI Bridge */ &q6afedai { qi2s@22 { - reg = <22>; + reg = ; qcom,sd-lines = <0 1 2 3>; }; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts index d88dc07205f7..7dd103d1ef6f 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-xiaomi-beryllium.dts @@ -339,7 +339,7 @@ resin { /* QUAT I2S Uses 1 I2S SD Line for audio on TAS2559/60 amplifiers */ &q6afedai { qi2s@22 { - reg = <22>; + reg = ; qcom,sd-lines = <0>; }; }; -- 2.36.1