Received: by 10.223.185.116 with SMTP id b49csp1029920wrg; Wed, 21 Feb 2018 10:51:44 -0800 (PST) X-Google-Smtp-Source: AH8x224CLgnRGk32wjuTjsGcJeAipKMGY8lRFKeW5yruVFcmtbBf1aDqE3oxadjGsnYrw/HZW5Il X-Received: by 2002:a17:902:424:: with SMTP id 33-v6mr3933984ple.57.1519239104684; Wed, 21 Feb 2018 10:51:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519239104; cv=none; d=google.com; s=arc-20160816; b=PheVYMKnZhT2QgHzM6HECfGfLX6u9PWp3jTmFzrTQdDvMdf8oEaDOer08WP9xqItqQ wYGpPJk8q22QAyU+AfC/r1PQd4h1ZaPuR82xuJYgzQ8NVUmxWtRFaiTBhdUK85LK6tm1 fp990Yy5iL9/s0c/ObxQt3Z7QSiFrRU2B4HStV9L6m336MQwOL3LLx1YjWfZzz8Cn8Fz p6ex7ArXRkAyKkgS++fllKV6u9BJxBNHV1a1JSoiesfbuyhCtHDum/IloeCKuL6hMnIx qEoWup2fGUOcAXPJWCrMO+wrB+ktAJT5eJFiYDm1M0iW1tmfUbgWqfVZU/zwtljT2bGK sziw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=NuCuMt911FiSQhD78MxPEP6LaMBQxb7xBppQaIfAt1o=; b=h5rECLMGY8vsb1vtDOYgKQyD1KGrq1BiXV7S7/FB/iKobL35FKa/C1yXiZZtYfpHGj V8XVTQNXIfqe6aFW7YNrVVuYyez3v9y8wbZX2v/rX9W+S4HN++URhJqu4D2SC3AaEwo6 H6+jc90ZlJABFzn9wY+Z5LoWsfgl2ogQHwTHaa5Ql2uZg9RaYVSr34rNkcVVmJHYr3Ov PptJmD/SO8biUYwgG+iHZFMjADBDXT/tKYW+FUZwS2lZnq6vEj3eDVQunGVKlzYQtEun C7htCJnCFFTBr89+fYHvmJU0A7MZgRPRloBwlZQQSlC7B8E/UeXGbJbgiGU0lg9RXhJk u7pQ== 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 d11si2092364pgn.21.2018.02.21.10.51.30; Wed, 21 Feb 2018 10:51:44 -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 S937556AbeBUOYk (ORCPT + 99 others); Wed, 21 Feb 2018 09:24:40 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:35944 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934777AbeBUM5v (ORCPT ); Wed, 21 Feb 2018 07:57:51 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id C5F3BF5A; Wed, 21 Feb 2018 12:57:50 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann Subject: [PATCH 4.9 44/77] ARM: lpc3250: fix uda1380 gpio numbers Date: Wed, 21 Feb 2018 13:48:53 +0100 Message-Id: <20180221124434.042724403@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180221124432.172390020@linuxfoundation.org> References: <20180221124432.172390020@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Arnd Bergmann commit ca32e0c4bf9ca4b87089c5a5ce945e5f2ec890da upstream. dtc warns about obviously incorrect GPIO numbers for the audio codec on both lpc32xx boards: arch/arm/boot/dts/lpc3250-phy3250.dtb: Warning (gpios_property): reset-gpio property size (12) too small for cell size 3 in /ahb/apb/i2c@400A0000/uda1380@18 arch/arm/boot/dts/lpc3250-phy3250.dtb: Warning (gpios_property): power-gpio property size (12) too small for cell size 3 in /ahb/apb/i2c@400A0000/uda1380@18 arch/arm/boot/dts/lpc3250-ea3250.dtb: Warning (gpios_property): reset-gpio property size (12) too small for cell size 3 in /ahb/apb/i2c@400A0000/uda1380@18 arch/arm/boot/dts/lpc3250-ea3250.dtb: Warning (gpios_property): power-gpio property size (12) too small for cell size 3 in /ahb/apb/i2c@400A0000/uda1380@18 It looks like the nodes are written for a different binding that combines the GPIO number into a single number rather than a bank/number pair. I found the right numbers on stackexchange.com, so this patch fixes the warning and has a reasonable chance of getting things to actually work. Cc: stable@vger.kernel.org Link: https://unix.stackexchange.com/questions/59497/alsa-asoc-how-to-correctly-load-devices-drivers/62217#62217 Signed-off-by: Arnd Bergmann Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/lpc3250-ea3250.dts | 4 ++-- arch/arm/boot/dts/lpc3250-phy3250.dts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) --- a/arch/arm/boot/dts/lpc3250-ea3250.dts +++ b/arch/arm/boot/dts/lpc3250-ea3250.dts @@ -156,8 +156,8 @@ uda1380: uda1380@18 { compatible = "nxp,uda1380"; reg = <0x18>; - power-gpio = <&gpio 0x59 0>; - reset-gpio = <&gpio 0x51 0>; + power-gpio = <&gpio 3 10 0>; + reset-gpio = <&gpio 3 2 0>; dac-clk = "wspll"; }; --- a/arch/arm/boot/dts/lpc3250-phy3250.dts +++ b/arch/arm/boot/dts/lpc3250-phy3250.dts @@ -81,8 +81,8 @@ uda1380: uda1380@18 { compatible = "nxp,uda1380"; reg = <0x18>; - power-gpio = <&gpio 0x59 0>; - reset-gpio = <&gpio 0x51 0>; + power-gpio = <&gpio 3 10 0>; + reset-gpio = <&gpio 3 2 0>; dac-clk = "wspll"; };