From owner-freebsd-arm@freebsd.org Wed Mar 20 15:31:16 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0DC221556EEF for ; Wed, 20 Mar 2019 15:31:16 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1.eu.mailhop.org (outbound1.eu.mailhop.org [52.28.251.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 23E3D6BE21 for ; Wed, 20 Mar 2019 15:31:14 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1553095868; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=IhIH59l/hTJ1YUHztcA26279nlQw4aFqblivuDXXKZWl1Hf2myLRHuQrzLQOMIc55xjKF2dMQnM7M 6mjO1riVHCF9mxHlaMTW5Gqy8FrvNzK/+cxoq6RmgvvPg+u0qoWTs9zep8/UV+k5IqkMtM1aJC/qtG et7/ZtbteQ10QegFz2CTFPCotZM88L1dF9oi5aoH1w42XIT0SqBIYgew77LHNLf49AiezocBKtnJoR +1ehtiEwQw6qPVjk3YLbEOK8/fZionv+rifR28Z558yf6XwbUNFJWU1kBtygdwWurH4ejmodMB1zNL rxDvd2e3wy7woEqH2C6Q0Ijl18tmxXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:dkim-signature:from; bh=QPtz/BJzt5aZwn3obL4Pu2/T5rbCgRmtDgXGevh8ICo=; b=EtQgeRP1sJvCbU64UBD9GlfEwtqpWZC102SHUTkL4LDgIR56st9nVxH/JGeu0pKOis2bn2QaJN4ae QNP5LGqx6BZ3iJg2/XHV67OQdN/0FMe+xjLzOA93no6n3OGr/jdUxbtFgu+bas/ZFT1ZfVKfV+MFwq J8nLrOST1oEwP1RhmJAGNduNrs9oqOHjviZi95pcJm8PsuIfGGP93o1wECGeU4RIloXPaBB28a3xqL p4ae3FJCV/rOp4BenvZjA3koR4+bAisVg18SbXNsAEC0b9m3755wqKnJTfTWQBfWoSU9cVy/KwC6xS 6fm1RTAAlD7qUeRGrChIe5yqUQUglaw== ARC-Authentication-Results: i=1; outbound3.eu.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:cc:to:from:subject:message-id:from; bh=QPtz/BJzt5aZwn3obL4Pu2/T5rbCgRmtDgXGevh8ICo=; b=FU1lS3QxyOXI3QDGggYj+j771xtXYfsS8hEWtMxEOBEtj1O8k/T/gmEPKsfJbJ2ExMs5piPyTFBeD D211/BfExvnh54IN7ZOwrQArMjZw6YOAfqDFcVP56MvVP8Sz7jyISr50JiFwiuU5szYViYX+6+VH2X WVR0bU1RHh7pAUaBzCW8qKRGMwRKEcJKv2gTS0853fV/782F8nclDatBqg3Zp/aKCKskIKbgEzUT9B YSAHoZz0IwskOMGjE1YmyvFdkc0KPfBCsV1GDTAMojYp/UA4ZjQeuRJNkmvyFa6Xvd70mjLEh0cGgt 8KiGokj/+y/qnZDWhzrl5nnAKDacH7g== X-MHO-RoutePath: aGlwcGll X-MHO-User: 2c0e7ad4-4b25-11e9-908b-352056dbf2de X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound3.eu.mailhop.org (Halon) with ESMTPSA id 2c0e7ad4-4b25-11e9-908b-352056dbf2de; Wed, 20 Mar 2019 15:31:05 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x2KFV28T069180; Wed, 20 Mar 2019 09:31:03 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: Subject: Re: allwinner i2c [was: Options for FBSD support with LCD device - new project] From: Ian Lepore To: Daniel Braniss Cc: freebsd-arm@freebsd.org Date: Wed, 20 Mar 2019 09:31:02 -0600 In-Reply-To: References: <8df902f6-20a3-31c4-71ac-91f5d5fdf50d@optiplex-networks.com> <0ecf23e129ca7ac6a92a01bbb34c03f1ac8c6dc8.camel@freebsd.org> <89f5b8d1ab0614ac8d88b5d5f1afc63e640c3c17.camel@freebsd.org> <4EB5C6C1-7DB9-4DEE-BB23-CD1259581271@jeditekunum.com> <004ddba628b94b80845d8e509ddcb648d21fd6c9.camel@freebsd.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 23E3D6BE21 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.983,0]; ASN(0.00)[asn:16509, ipnet:52.28.0.0/16, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Mar 2019 15:31:16 -0000 On Tue, 2019-03-19 at 08:28 +0200, Daniel Braniss wrote: > I have several allwinner SoC, mainly from FriendlyArm, and neither i2c or SPI work. > I have a hacked i2c that mostly works, but hangs sometimes :-), mainly > timing issues of which I have no idea how to fix. > I’m willing to help here but my knowledge of the twsi tends to zero. > hint hint … > > cheers, > danny Iirc, allwinner requires working i2c even to boot, because the boards have i2c PMIC chips on them. I wonder if it's a case where a few small commands to the pmic work fine but bigger transfers fail? I dunno, anything more you can say about the problem would help. -- Ian