Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2349197pxb; Mon, 20 Sep 2021 19:42:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfAaYzO9GwCLtdggha4Z82DvTFBgq39zVxB8om7UMOxUCfcf13jp+k+5sMLJ5kEL3RxQy8 X-Received: by 2002:a05:6402:2919:: with SMTP id ee25mr32856813edb.395.1632192153547; Mon, 20 Sep 2021 19:42:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632192153; cv=none; d=google.com; s=arc-20160816; b=TRD7xzGR2OEB+XshqP5gDUoi6COu50S9WLyYJVQ+a6QX7ycTRyFJJqTzJOEBXZq29T OhnqrXRjyQpbMOr9gXcZt3G8Ns8qN0C6w1AZx270q/4oMeo1B5KWbR5Gd3p6Xw9Qk/Ln opZpcHD39gd8kFBEKOxbkhFHKlhy7ib+TpV2CD9iWVHt7KS1sQxPGFIM44EV8M4XBGpJ m7ynG4ptEGHPDkxAa9gm7g9IrCDL8r/Jrx6TF0peN1MC0ueXsID8fW53UQy9vBekKAW5 pBH4A4Xgl8O1qIRL1fN3LEY0nBp0EyNLqwP0g3vtKkriZbqphiI086i5S7FUIQY5T7eJ B+yQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=F8D7nwh2STCOAvAcDKSs6bgAax0F4FAMUdR0w+yQ1Zk=; b=DMqQUz+JPPGb1Sc2Qx+1YXPgdV/WUxZoXDJWQUsx77VCz6snk44bBJufSefJbf4B9H bOUX9CvD6BmPCKHqcxE76CwY/AXOGIbG4iwGm0uER5hHweSO1QDzz1DRlObo4KcooBdZ LDSMcjpyzlKQBRr+r+QVc2lWLg+UfAEgnFrkEnGi/viWAetPUVfp7CKP0wpV12qQD+2A isfFunSAXfIBWvVcz5NMe8jVREPtmjsF0mIaLzcpDrC37XyTmA1TDApv8lCnlGvYnm1a zLQPQq1nxji1O0s5WRV6XM7YIrHpJbnVH/NXjyta4xaQ0L8N8ac0rExBlcZtR0yE9IPJ tPuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=u63kA2Y+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d5si21307481ejd.235.2021.09.20.19.42.10; Mon, 20 Sep 2021 19:42:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=u63kA2Y+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351621AbhITST6 (ORCPT + 99 others); Mon, 20 Sep 2021 14:19:58 -0400 Received: from mail.kernel.org ([198.145.29.99]:35774 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376370AbhITSMJ (ORCPT ); Mon, 20 Sep 2021 14:12:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B65C96327C; Mon, 20 Sep 2021 17:20:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632158434; bh=IH2bqORCcfiRGXYybGqC3vEwO/2EBO1dREiMH6gGzv8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u63kA2Y+tni+DmSByjy4PTF07UV2IBW79m+/Gzx4xkxA7beD1mf6AVkBqz7NafOlv vbu/lUDUkWfe3VO1vNQOowSIEj3fRaSKLPKR2DfPYSJ8o6619TPgGVI4xNOFfygLtF cuYwB3W4QdwzkRCknnmkPmA948nbyAHNfh030XaA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sebastian Reichel , Sasha Levin Subject: [PATCH 5.4 122/260] ARM: dts: imx53-ppd: Fix ACHC entry Date: Mon, 20 Sep 2021 18:42:20 +0200 Message-Id: <20210920163935.270826832@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163931.123590023@linuxfoundation.org> References: <20210920163931.123590023@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sebastian Reichel [ Upstream commit cd7cd5b716d594e27a933c12f026d4f2426d7bf4 ] PPD has only one ACHC device, which effectively is a Kinetis microcontroller. It has one SPI interface used for normal communication. Additionally it's possible to flash the device firmware using NXP's EzPort protocol by correctly driving a second chip select pin and the device reset pin. Signed-off-by: Sebastian Reichel Link: https://lore.kernel.org/r/20210802172309.164365-3-sebastian.reichel@collabora.com Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- arch/arm/boot/dts/imx53-ppd.dts | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/arch/arm/boot/dts/imx53-ppd.dts b/arch/arm/boot/dts/imx53-ppd.dts index 5ff9a179c83c..c80d1700e094 100644 --- a/arch/arm/boot/dts/imx53-ppd.dts +++ b/arch/arm/boot/dts/imx53-ppd.dts @@ -70,6 +70,12 @@ cko2_11M: sgtl-clock-cko2 { clock-frequency = <11289600>; }; + achc_24M: achc-clock { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <24000000>; + }; + sgtlsound: sound { compatible = "fsl,imx53-cpuvo-sgtl5000", "fsl,imx-audio-sgtl5000"; @@ -287,16 +293,13 @@ &gpio4 11 GPIO_ACTIVE_LOW &gpio4 12 GPIO_ACTIVE_LOW>; status = "okay"; - spidev0: spi@0 { - compatible = "ge,achc"; - reg = <0>; - spi-max-frequency = <1000000>; - }; - - spidev1: spi@1 { - compatible = "ge,achc"; - reg = <1>; - spi-max-frequency = <1000000>; + spidev0: spi@1 { + compatible = "ge,achc", "nxp,kinetis-k20"; + reg = <1>, <0>; + vdd-supply = <®_3v3>; + vdda-supply = <®_3v3>; + clocks = <&achc_24M>; + reset-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; }; gpioxra0: gpio@2 { -- 2.30.2