From nobody Fri May 10 20:00:36 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VbfrT0sxPz5KKpf for ; Fri, 10 May 2024 20:00:41 +0000 (UTC) (envelope-from jsm@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VbfrT0GQYz4SD5; Fri, 10 May 2024 20:00:41 +0000 (UTC) (envelope-from jsm@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715371241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xGAhG2QbuEpcUxvLD+T/3DFwSPLj4RXmeoMCn1sRKzA=; b=fVPw3nUhFfKrpgUSA/cNUYLJqofmUh+uIpwtgsj/gI+B2pRWo/s9OGJnqwyUFkyK73Rm0L hJ2liIe9KI4GVmEvxw2kEwrSgXHAky/OlJ5WpJeBysUSRyL/dQatWPLm2p3LakbTYc7X9r ZS0ncFtQ89CqC3MW9xN+zbv4QyeV9kb+yxATQJJubjjSbAuyaU2XzWrWo0FVeUva3S3JpB 4AonyDZgBhLGESGX4QXexHwmEy2XiYRmQ+OjDfuJhCvlkb445uY6NXF69/q3EfqxhoY063 SkBpe/gjn1TjQVjROpS3HWmr+FPBmPD8Uyrrun1HsiTxD8POI1dnslbInhY66w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715371241; a=rsa-sha256; cv=none; b=MdxPtTiKqVocKAZ0d/fLwzB/6hf9KEVVkUSaReKVCmBbZywbaW+b2oZFH+jaRUa/+zo9wr ECovZCihH5mn+ejkkKA9qrcUroYCyNaBAkjWUxe0LqPp+R/MuAGsXiKPAmV0pB9w3sP+cr gIdtrgRcqV7Wr7DISGIGMIJisPUiTMXIbrSjbUmbXWqevz56xfQfqAlh7fylXlqZnto3Er cPV6kcgTspEkYmd3+wlOqsvQeT3Kj3Yld9xajYB7+v/u8o7iVb9dqOx4RVDWvPLop8HQ/a d5cQ0HwqIToZ0GJmZSVpptP2VtyW5xQKFBccV+MDm/ZvFN+uUFqhc1otWidJWA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715371241; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xGAhG2QbuEpcUxvLD+T/3DFwSPLj4RXmeoMCn1sRKzA=; b=yHD37GNs5aeqbUNGpv157sO3bdVYvVR6FbJVVUCJcKBHYjeiOj+vzkraK2X9m2aQ91hSXR CNdxm6Ew0lXANKopyRmemc2qdnvwqVjYyToti5bF681O8WlSipC8o3mbPzHT8TUozccH5H /6CaTe0dIxo2wtpuOE9HT5+eojJ7JWQ5uHLvts4suTFA3byW1YWiDyNHp8uGsEkG2dyA4G m/BprEditAPDaSosiZspuWCgkkoBRqjRN9xhX5mI0jdmC7nb31+Cyf+mnDJk/7W5TheK7l xsFDhR3VlhDeIYnGg1zeH6iYs7log2NflAgj/UVQljqh/VJLxFhWpfE2UKIA8w== Received: from [192.168.1.5] (mail.northatlanticmusicsupplies.com [212.237.182.202]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jsm) by smtp.freebsd.org (Postfix) with ESMTPSA id 4VbfrS4jFPz1MGn; Fri, 10 May 2024 20:00:40 +0000 (UTC) (envelope-from jsm@FreeBSD.org) Message-ID: <3b87cd2d-76a4-4d2d-acf7-f0a6d47697fc@FreeBSD.org> Date: Fri, 10 May 2024 20:00:36 +0000 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Status of Pine64 sound (Everest 8316) support? To: John F Carr , freebsd-arm References: <5C3C717C-5542-45EF-BDE0-B88CA91A691F@mit.edu> Content-Language: en-US From: Jesper Schmitz Mouridsen In-Reply-To: <5C3C717C-5542-45EF-BDE0-B88CA91A691F@mit.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 08.05.2024 14.20, John F Carr wrote: > Several Pine64 devices have an Everest 8316 or 8388 sound device. It looks like work was started on an 8316 driver several years ago but abandoned. The driver I found does not seem to work. On my RockPro64 it attaches but fails to create any devices. The attach method does not check that it is talking to a real device, trusting the device tree to have the correct address on the I2C bus. > > Is there anything more recent than the changes archived at > > https://people.freebsd.org/~jsm/pinebookpro/3fca90af438ac4232d6b33ee4874297089997dd6-main.diff > > ? > > Does anybody remember if this driver was almost done or barely started? > > The errors below in my /var/log/messages suggest work on I2S is also needed: > > i2s0: mem 0xff880000-0xff880fff irq 58 on ofwbus0 > Cannot set frequency for clk: clkin_i2s, error: 34 > Cannot set frequency for clk: xin24m, error: 34 > i2s1: mem 0xff890000-0xff890fff irq 59 on ofwbus0 > Cannot set frequency for clk: clkin_i2s, error: 34 > Cannot set frequency for clk: xin24m, error: 34 > i2s2: mem 0xff8a0000-0xff8a0fff irq 60 on ofwbus0 > Cannot set frequency for clk: clkin_i2s, error: 34 > Cannot set frequency for clk: xin24m, error: 34 > > > John Carr > > Oleksandr Tymoshenko did the rockchip sound drivers. rk3328codec is for rockpro64 and es8316 is for the pinebook pro if memory serves me. Which one did you test? /jsm