Received: by 10.223.185.116 with SMTP id b49csp695129wrg; Wed, 21 Feb 2018 05:32:33 -0800 (PST) X-Google-Smtp-Source: AH8x224OTohJ4brdU60xZWt4zq8cNZ6+s4GBxPnxRqblr51jTCjfpd+QOAWqo3Mh2KZbbkDZurDB X-Received: by 2002:a17:902:bb89:: with SMTP id m9-v6mr3168109pls.423.1519219953151; Wed, 21 Feb 2018 05:32:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519219953; cv=none; d=google.com; s=arc-20160816; b=jpVUJVY/pPKtkF0a8EfBmaTFWF5bMhp05+CVziwwgF2KGEznXlc4NR/6UMQdPtN7Si 0NYkeWTt0uKDYi9t7eQZx5LaIDSG70dMqcb0cykk8mpL5Sj7sVqelvT9pQgR/p4buAae dgx3bSfFNtOj6efASBoIR2VkoBosqbx9rksXplPtuEhXe0ySc0ZeY8g+9ffjSJ4eabo1 thGPbCLLqwayTz0ev8YCijBIe9cj351bVlidbJOzy2U+eRud3IjXpvV66/cFzfbfsDln +E/FyRqmr+oc26f17ZlfqV3cwUAYg9qUxjfzEWfVIB8eCCYIY6kjORppZaK3gz4qfrtU jAeg== 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=xPsNAltHZILAgK7nzj2s65oSrMcEnFSjokgBddJfTmQ=; b=anicEM6tyrFU4ytj6+zCRrBqZwgwvdmak0dQM4jc4wk24A4zkCyhPwNNAJ6r9sgufe QDeKdpcfi0aR2WzJM33rsAjHlO5b2TqNJTi3ABTA6q8b6kV2e5X0BNOL9vC1QIva5NtO bVoKqGgiTTh96IYQEKH4uH8DD7uDBkrkYLcnMB6f8/CAwuDGAJpr7KUkvIrpt1TJf/QA egE7wuAiGRaRi/lAoX5cB5SjLS1NK9rl3q0RXBQGn5KvlXAKTEyeOroeio8UXbQjKMEZ oby1O01DOp/nCcVGzAK+j1zF9Mq0mkMsyL1okOGgznyL+cuv6ZkbSAUVcJJfv/rtCxS5 BMTg== 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 p187si11048152pfb.175.2018.02.21.05.32.18; Wed, 21 Feb 2018 05:32:33 -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 S936083AbeBUNGw (ORCPT + 99 others); Wed, 21 Feb 2018 08:06:52 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:41300 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936071AbeBUNGn (ORCPT ); Wed, 21 Feb 2018 08:06:43 -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 3900FEB6; Wed, 21 Feb 2018 13:06:43 +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.15 028/163] ARM: lpc3250: fix uda1380 gpio numbers Date: Wed, 21 Feb 2018 13:47:37 +0100 Message-Id: <20180221124531.779446069@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180221124529.931834518@linuxfoundation.org> References: <20180221124529.931834518@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.15-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"; };