From owner-freebsd-mips@freebsd.org Mon Jan 18 00:04:46 2016 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0B4EFA86CFF for ; Mon, 18 Jan 2016 00:04:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qg0-x22d.google.com (mail-qg0-x22d.google.com [IPv6:2607:f8b0:400d:c04::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BB02312F8 for ; Mon, 18 Jan 2016 00:04:45 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qg0-x22d.google.com with SMTP id 6so467979315qgy.1 for ; Sun, 17 Jan 2016 16:04:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=8LcbG4MvyCC8SDMDG8ri6BObRGbJY7FYFfPeCXnI9yE=; b=VJfqyOeoYAzcHHw/Vopisbr8B6tAiTe/yaDzGQ8RDHvtjNmyTc9qUJ7yAdmBj/JiTt IN1WRioGnCaPSGYuy2ZYYjQmB92Fc7Xlmfe3C8OZiHyiP+8T6BhP2IRKGiVIbaSv6+bV vVvQi8rD+p5nno10NRnNXPjURi82q6BDo2+7R7FXn5fDw8IPjqQ0KyuvQk16Werslj2A eC5K5TI4KTnLV5X/H9k0sgr0+ZCQ64ynhyjK284g3lry12bS0wJf1jCvyThCzn9RPcRE GTFVhsUx91t1oSGbt93sCScfwlSrXPYySXp4662K59cwbR0E7O10Ec/bZXMgTjpDAt/d +iOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=8LcbG4MvyCC8SDMDG8ri6BObRGbJY7FYFfPeCXnI9yE=; b=fOkzS4suiXbbvBXjAXaWRnbGJICU1w6YJb+21n3FvVsOXeQhT53Bkpnbx13hwHUX0+ MRy0gb5nK0HiPUTGbLN7+dkwxBKXDwpHriblXllDG6MMaddXZrvfLEMsAME5DgwNaFvC E0xZUPkWSAM0Z3w9Yte0xSfvWPCdYfCdqgYUsmPji/GYnWbQmNib/AP/baeFCp6bow9x us2i/fArbXj6qmu2CWsZxS4xw4IUiYieyWNXUH6e6m6l2i6kqiApvZN/fVcQdWbRVVcr Ck+7W6wPFLjSO5+4oYLDbu/C/gDWzbp144Tjl783NVwq7gT3LapMg0Zog79X2ypeqDPx 95Qg== X-Gm-Message-State: ALoCoQkZK92eNJHBedKmoUgXDs9LYdbtFbY2UgrSafgeDlGXKK1RO5+tYktie1Mr+ffFKlIGFxF7zkyOg76d4paS/7JGGplf/A== MIME-Version: 1.0 X-Received: by 10.140.141.138 with SMTP id 132mr29504983qhn.74.1453075484835; Sun, 17 Jan 2016 16:04:44 -0800 (PST) Sender: wlosh@bsdimp.com Received: by 10.140.30.166 with HTTP; Sun, 17 Jan 2016 16:04:44 -0800 (PST) X-Originating-IP: [50.253.99.174] In-Reply-To: References: Date: Sun, 17 Jan 2016 17:04:44 -0700 X-Google-Sender-Auth: KMolSwTldRUgEMAUE2u7IInNIEk Message-ID: Subject: Re: SPI geom_flashmap/fdt_slicer support, FDT 'resets=' support and a move of ohci_fdt.c From: Warner Losh To: Stanislav Galabov Cc: "freebsd-mips@freebsd.org" , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2016 00:04:46 -0000 I don't see how resets help. Maybe I missed where it was documented, could you send that to me? Even with that, it seems that a generic ohci_fdt driver isn't possible. Warner On Thu, Jan 14, 2016 at 2:01 AM, Stanislav Galabov wrote: > Hi all, > > First off, sorry for the cross-post, I wasn=E2=80=99t very sure where thi= s should > go=E2=80=A6 > > I=E2=80=99ve created 3 PRs, which enable some functionality that my work = on > Ralink/Mediatek SoCs would benefit from. > > 1. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206227 > - This enables geom_flashmap and fdt_slicer support for SPI flash chips > supported by the mx25l driver (sys/dev/flash/mx25l.c) > > 2. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206228 > - This adds support for FDT =E2=80=98resets=3D=E2=80=99 property in much = the same way as ian@=E2=80=99s > sys/dev/fdt/fdt_clock* supports FDT =E2=80=98clocks=3D=E2=80=98 property.= In fact this work > is basically a modified version of fdt_clock* :-) > > 3. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206229 > - This simply moves the at91 specific sys/dev/usb/controller/ohci_fdt.c t= o > sys/dev/usb/controller/at91ohci_fdt.c (and changes the filename in > sys/arm/at91/files.at91 as well). The current naming is misleading IMHO a= nd > also, I have some (vague-ish) plans to see if I can implement generic > ohci_fdt and ehci_fdt based on dwc_otg_fdt, so that systems with standard > ehci/ohci controllers can reuse these. > > Patches are attached to the PRs. > > I would appreciate any feedback on the PRs and would also appreciate it i= f > someone could commit these if the proposed changes are appropriate. > > Best wishes, > Stanislav > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"