Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1715713pxb; Thu, 16 Sep 2021 13:47:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4Ynkk7J4YO65nOoAkkoOrGLDWg0jd5vGPM+cfKNTscC4CJZWgGSksF6BeEEg+8gTw8PSq X-Received: by 2002:a17:907:9854:: with SMTP id jj20mr8788289ejc.133.1631825259820; Thu, 16 Sep 2021 13:47:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631825259; cv=none; d=google.com; s=arc-20160816; b=Lmk+oGNGRWrxOnqifGrVEVw89EAE596zc+8MqBskvgjVcQUfFPRIseMLemv/Pb4dJ+ I6bChEGNJqJNqHln77OLFwMW/2jbDgerCsvMOEVv+wzPrBj7Aa/eGlYf4o+OtLQMqgtW 91TD1e9ZZ+zgyvsESW7ATdnzEKOVd4ocoMMgPRaKqveJ2ZaZ9xWwa3bYX5MQJQFFsHEa 56APib4sQip9qw5cTy0YaDK/TH2cmt0kwKJ0HRS+RVj1JDKnGvafznO1Qw6OYkca64oF VUdIgJ2VZBE0Wy1JrXG0EsM+JnsHd5emhZtGli03iaVwlb4wZ6MjxJitMPkqAJFn+O02 QcDg== 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=iomv8Xhg/Ck79zpyAZkuLr9O2LmJycGuADKqTnIN2zY=; b=DOCLqBtpQpmfLWMHRplu/ra9pEpzAh11r4td5rIyP6CfhKbEBgH08Wh0EWhhOx/D9w 6LN+I0lZ/wuqCQdVHeqf7VBgQxgHbgW9VbB0YFU5ex+VNv6i/HjVVSszkoT9HMp7IYmg gMWEouBtvc/IgK32FcuCuMVWepRcXOsEw9xsEVJhJRupz78s3mhD8cbhhqCWvIiKe19y kVZGlE68tDOqCW5yby2RtPUkYc4ygWjRLiEGERLREn0sZSI2jhT+Mx7470o+lJiyCumk 7Cf86A7lx0iM7A4SbvhjE266ySe7zV4vKoVNmFbwmxxMSjgMRPaHXRRpAVOx6nhtPYRE KUog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=clcLFEcs; 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 c15si4816894edr.246.2021.09.16.13.47.12; Thu, 16 Sep 2021 13:47:39 -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=clcLFEcs; 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 S242108AbhIPQ2u (ORCPT + 99 others); Thu, 16 Sep 2021 12:28:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:55068 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241281AbhIPQPZ (ORCPT ); Thu, 16 Sep 2021 12:15:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8F4366044F; Thu, 16 Sep 2021 16:11:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631808694; bh=HVvKxqPS8rU9yOzp1wJgm9OCAmPEnHndi0UR/vCAWoU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=clcLFEcsEP4jNln0GHmzDPVM0gAyy7gB0PjMw1AYUiRgob3aA+P34ESXCZ40/gNYk H9g1ceWIFqpIRLzWbtgWLbelQC+MGseDUDCiRUuNkNiW6NDsJbubVPC97P4N64iWH4 n/c8IofNUO6yU8K2nBHpUWbcVHuDlhMp7Jfa6+LA= 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.10 188/306] ARM: dts: imx53-ppd: Fix ACHC entry Date: Thu, 16 Sep 2021 17:58:53 +0200 Message-Id: <20210916155800.487163194@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155753.903069397@linuxfoundation.org> References: <20210916155753.903069397@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 f7dcdf96e5c0..6d9a5ede94aa 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"; @@ -313,16 +319,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