Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp712981imu; Sat, 17 Nov 2018 08:04:29 -0800 (PST) X-Google-Smtp-Source: AJdET5czCwBWBCNIT08J9W8Cn2OdVjnnFyvYi9ybegRwonEvHPwGPCF1CJx/ZNcbBgpXUU5n4HaY X-Received: by 2002:a17:902:7882:: with SMTP id q2mr15927242pll.305.1542470669000; Sat, 17 Nov 2018 08:04:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542470668; cv=none; d=google.com; s=arc-20160816; b=TTtyD4Ts9I2WfA5uxOZslMenB0oUSv35MewT0BvTJo/CSky2bPVSqkC5qUBlbH2ZHI +vGSvrSWJ3kB+5ing7097ltrpxRIKHyuREttRmoMFUSD093SHYfx/YXNNtfp94PlYQCU i5+z8bhVCNBEWEsOWeI6JD/j7/y/tgL2P7Z1afEfJFFjjQkr5GCTXGqus0TqZuwjT4xQ uU53ful6MpK3wNBVX4mpbDGvHafxcenYy06R70EHVPi8PW+BnpJMBiOwNSuC2SaXLiIv awk7b8CBy9tSxT62dK53tezpK4UBdi1w52W+WwAuV52ZJqqNTmWTwIeR2DRg8xiPJ8eb CDkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=VpIkRnRmiocIkpvMFLv5HAS8OytT+QmzXxlV+eAuMyw=; b=qCX6iwxtJ9tUTc/6vYizgrEIGKQYmqgTnf/tXI2rjxXge0oIpk7FkqJK2xJjZSWQLM kzC0tziV52RElg4MT66rK/wDPW7Zt+9h4Fe5orDzfFqbyU3YOOtR6bxg5I6pnopuLUnG VtkxeJuLu+d3zG+DeCu0q7Umlek2HbLzdKBU8Ej2ynoK5Q+4T5nZtDMGScuQEMkEL997 EnBZq7JXypKgbhWHWosHP241aPDtyI/jlUC3OUIh6eiXCyqNwPY+DRhBNJ3i5m9Ke76e MJUMeCCxLuKNyQgYhSm4bBwtsxolF5xzVh4aEGJpsnHtlUFS/MahmLQ+KHt0DHNDmtQb zXyQ== 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 187si2235760pfb.41.2018.11.17.08.04.14; Sat, 17 Nov 2018 08:04:28 -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 S1726554AbeKRCT0 (ORCPT + 99 others); Sat, 17 Nov 2018 21:19:26 -0500 Received: from mail-ed1-f68.google.com ([209.85.208.68]:38716 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726113AbeKRCT0 (ORCPT ); Sat, 17 Nov 2018 21:19:26 -0500 Received: by mail-ed1-f68.google.com with SMTP id a2-v6so22034053edi.5; Sat, 17 Nov 2018 08:02:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VpIkRnRmiocIkpvMFLv5HAS8OytT+QmzXxlV+eAuMyw=; b=QtHoxR9R5WrDR6InLdhPZPY1OsnlLd+b4ydPXb6P/Btmi2EPdJMjxHLX2CotBFylZD iGPYMQ5LVyAzz4UCa93JPpEIFoRDTQSl8MxqyPKQJXtrPlZtR+Yz7d93wsgbVViZotf9 Yos9fAbeA+NzXf9ybXl0y/FUJaxEC96wAVw4Va29h8/e7qevRkkOCiluXQVLP5/KFBcH LWWXPr0ledOsCckoVLMfcvHzTV7y7qA4FBUSJ1VkLpzKxZtrm+2FUPq1R5UuGvjT6+eJ b5e8GOKrwrF8kPy7iRpKX6mZAdw14EIFg/5uF6QoInHDwqRMMqzdAGSWmiebFnHyLl7v BMpA== X-Gm-Message-State: AGRZ1gKl9agCB7uRrIXScc1ajtuzdSYSpYjzqhJTVRVaBJz7GJttLyyb oFo2nPV4t+7kj8d3ELKNUCM0bjR2 X-Received: by 2002:a50:b284:: with SMTP id p4-v6mr6662811edd.60.1542470538347; Sat, 17 Nov 2018 08:02:18 -0800 (PST) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com. [209.85.128.45]) by smtp.gmail.com with ESMTPSA id i14-v6sm4827168ejy.40.2018.11.17.08.02.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Nov 2018 08:02:18 -0800 (PST) Received: by mail-wm1-f45.google.com with SMTP id 124-v6so1373209wmw.0; Sat, 17 Nov 2018 08:02:18 -0800 (PST) X-Received: by 2002:a1c:2304:: with SMTP id j4mr1902419wmj.14.1542470537597; Sat, 17 Nov 2018 08:02:17 -0800 (PST) MIME-Version: 1.0 References: <20181108063929.29720-1-anarsoul@gmail.com> <20181108063929.29720-4-anarsoul@gmail.com> In-Reply-To: From: Chen-Yu Tsai Date: Sun, 18 Nov 2018 00:02:04 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 3/3] arm64: dts: allwinner: a64: enable sound on Pinebook To: Vasily Khoruzhick Cc: Maxime Ripard , Rob Herring , Mark Rutland , linux-arm-kernel , devicetree , linux-kernel 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 On Thu, Nov 15, 2018 at 1:48 PM Vasily Khoruzhick wrote: > > On Wed, Nov 7, 2018 at 11:30 PM Chen-Yu Tsai wrote: > > > + > > > + speaker_amp: speaker_amp { > > > + compatible = "simple-audio-amplifier"; > > > + enable-gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>; /* PH7 */ > > > > You might want to add a sound-name-prefix property. See > > > > Documentation/devicetree/bindings/sound/name-prefix.txt > > > > Also this should have a reference to its power supply regulator. > > You're right, it should reference its power supply which should be a > fixed regulator controlled via GPIO from AXP803. > > Unfortunately there's no AXP803 GPIO support yet and > simple-audio-amplifier doesn't have regulator property. > > I have no time (and interest) to work on it in near future, so if > anyone wants to pick it up - feel free to do so. Understood. I can try to pick it up when I have some extra time. On the other hand, I tried this series on my Pine64 and (with the necessary device tree changes) on my Bananapi M64. While audio played (did not stall), no audio was actually coming out of the headphones I had plugged in. I made sure that all needed mixer controls were enabled, and the DAPM graph read all green from the DAI to the Headphone jack. Any ideas? Regards ChenYu