Received: by 10.223.176.5 with SMTP id f5csp1013094wra; Fri, 9 Feb 2018 10:54:02 -0800 (PST) X-Google-Smtp-Source: AH8x224NJaMljvHG56Ytj6QPyUgac2Oop9aAnO5hpvF0ZrlyGUYy+3WKQXqUuuSL5miIkqH5QCzi X-Received: by 10.99.191.78 with SMTP id i14mr3192778pgo.9.1518202442168; Fri, 09 Feb 2018 10:54:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518202442; cv=none; d=google.com; s=arc-20160816; b=dOwUB4lHgoMedi9co6hNruqmf+WXIlKD6QKjBE/VTjebd9056iQHH42q/7h3T0261/ XZgRaBG/NjcmkCRhyIB+jtGC9TgqVJm41e2gs6q31mrZBOfK1BDZd8carNJe8ua78gA/ 5qyVPJtFvnTNcyZEuMhq1WM1K4n222tSXUiGD9CJS5gq6joy/c5HWaz9bBe1xYS+2s/w q3STQWf7AvG2kKCTP9RWMQ57z9kZHaoyv2GqRxUMP+I+NCelwsfZjeStFltSjkcV8AlX 95VHBf/bz9kPnEXPmxokb81ywSxA7mZnjMZUpQX1GezwWwVih4K1koM77jaD/kia8q83 JoWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=jBB8GqNvi0LK+xQHhYEnoAQ6DrM3PSKokZhk1Pp736s=; b=Uj2jj9CXqLbix6QtYxEY24eIoSLo3/ybQIk3yrQBUy9yXXyUbTiyDYWKIlzpeKl/MV csK26SGfAgSPYmkjvuYADGmIBQB3/EWQszPqY7a8k86el3YfjZjWPuU/LpCBiuNjDSAs 2ByxYFvU0U2foF/VlsvwgVvy/jdbR0yd389RZJxEHd2l0w2+8t+kkYekssmFwEToyIw4 MTOC8VVt+NoUIHCSyWKx1O1H338/zpvDVUi8vlrb8KTEj1VxP42CaqkYCB9PAIeshYDO N3vVhZZUPdysaQL7sG0kVjZ5vNtdJQiA5YwMpG8W6ur/WYaLWh/uEwDAzxmVIueGe7mF ZUTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z11si2058881pfj.351.2018.02.09.10.53.48; Fri, 09 Feb 2018 10:54:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752207AbeBISxK (ORCPT + 99 others); Fri, 9 Feb 2018 13:53:10 -0500 Received: from gloria.sntech.de ([95.129.55.99]:42124 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751004AbeBISxJ (ORCPT ); Fri, 9 Feb 2018 13:53:09 -0500 Received: from p57b771a3.dip0.t-ipconnect.de ([87.183.113.163] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1ekDn9-000807-S8; Fri, 09 Feb 2018 19:52:59 +0100 From: Heiko Stuebner To: Klaus Goger Cc: linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] arm64: dts: rockchip: enable I2S codec on rk3399-puma-haikou Date: Fri, 09 Feb 2018 19:52:59 +0100 Message-ID: <2448065.tRKBKgXtGg@phil> In-Reply-To: <20180203155016.51909-3-klaus.goger@theobroma-systems.com> References: <20180203155016.51909-1-klaus.goger@theobroma-systems.com> <20180203155016.51909-3-klaus.goger@theobroma-systems.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Klaus, Am Samstag, 3. Februar 2018, 16:50:16 CET schrieb Klaus Goger: > Enable the NXP SGTL5000 audio codec on the RK3399-Q7 EVK baseboard > Haikou. > > The i2s0_2ch_bus definition is only done in the SoM dtsi as it is > missing the LRCK_RX pin (that is used otherwise) and therefore not > generic enough for the SoC dtsi. > > Signed-off-by: Klaus Goger as we talked about today at Fosdem, please add the changes as below > + i2s0_sound { nit: is20-sound [...] > regulator-name = "vcc5v0_otg"; > regulator-always-on; > }; > + > + vdda_codec: vdda-codec { > + compatible = "regulator-fixed"; > + regulator-name = "vdda_codec"; > + regulator-boot-on; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; vin-supply, so that the regulator-tree becomes an actual tree? > + }; > + > + vddd_codec: vddd-codec { > + compatible = "regulator-fixed"; > + regulator-name = "vddd_codec"; > + regulator-boot-on; > + regulator-min-microvolt = <1600000>; > + regulator-max-microvolt = <1600000>; vin-supply? > -&i2s0 { > - status = "okay"; > - rockchip,playback-channels = <8>; > - rockchip,capture-channels = <8>; > - #sound-dai-cells = <0>; > - status = "okay"; > -}; > - please do the move of the &i2s0 block in a separate patch > @@ -461,6 +469,23 @@ > }; > }; > > + i2s0 { > + /* > + * As Q7 does not specify neither a global nor a RX clock for I2S these > + * signals are not used. Furthermore I2S0_LRCK_RX is used as GPIO. > + * Therefore we have to redefine the i2s0_2ch_bus definition to prevent > + * conflicts. > + */ > + /delete-node/ i2s0_2ch_bus; > + i2s0_2ch_bus: i2s0-2ch-bus { > + rockchip,pins = > + , > + , > + , > + ; > + }; > + }; > + please keep the comment but make this an &i2s0_2ch_bus { rockchip,pins = } as overriding only a single property doesn't require the /delete-node/ magic. Thanks Heiko