From owner-freebsd-arm@freebsd.org Thu Jan 14 09:01:14 2016 Return-Path: Delivered-To: freebsd-arm@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 353FBA819A6; Thu, 14 Jan 2016 09:01:14 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 E299B138D; Thu, 14 Jan 2016 09:01:13 +0000 (UTC) (envelope-from sgalabov@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id b14so417585257wmb.1; Thu, 14 Jan 2016 01:01:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :cc:to:mime-version; bh=yJb13U2oeLhCUD+3A7yiViQhRldmeJIcnZrHNKg3xhU=; b=gzSNuWuHf5Q7SZf5fxI+7Gj4GXOrv6bQY5NHLYqjMg6EP9m2Esm2RmY67u0m3PBS71 HXOQKbb/S2qLGKbPeW1SuC5uo25UvserUxXcgklOtA7HbVoRS9EYJ2WULjEhHlDIx2u7 sV2HYZRWnb1zh3h/T2GoHbCL6bArU5OC6wVQFmI1z+nTavJpsppqiyQ0cIwxK29Er8cU EqXbacvzmUzd9V8h4XxwgJYHq5GMkCVIyuxRujhr2wdbLxbd6qxASNNkoIpTmP8XqLMs kTsr1pUYZ7it0UK305sXdc5rNCPyaeYpgJH2cT2TdkKygvANPsCESp5z4iuQAZPBY/2h Nbhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:date:message-id:cc:to:mime-version; bh=yJb13U2oeLhCUD+3A7yiViQhRldmeJIcnZrHNKg3xhU=; b=ayJAwbQFwP5MfLCSNoH9D+VcGeOjOvrIqd2AgYTEO4EQ/8NZuBrAfjGTnYtKcO/h01 WayhsK7QHn1GqQ4aJmaymNKuS0cATwh+s08IM7aMQuKGW6Us/FxmN5xQEfYZHlzHgJlS tn/uwzA7MCGBysFOOekD4roumWLbx+u9ExasW5oX6vaIYEVFW0Rozf4c7zMq6lVE2gca IvLBjpb63jr2/WZyXL5hoh1W1gXGPnuVbq5T1USxn7iyUO4J91plqIu9jxVCmPEInNyP kQPIelY3upZMsiisPPB1Wg2jdBqP2eLnMFpgdCV3iHm1YbWtYVpl3aRnXfLLmsmZwPjT ApSQ== X-Gm-Message-State: ALoCoQkNnsjgYp5GOYLoV24kl9SFQKoH4pVOr25pDlKPG6YLTr8AbpP4cvKXBL803BilTCj1PV98f7u+7gB5/TJ7JnXqw8Q87w== X-Received: by 10.195.13.129 with SMTP id ey1mr2690540wjd.132.1452762071916; Thu, 14 Jan 2016 01:01:11 -0800 (PST) Received: from macbookpro-894a.hsmt ([193.178.153.131]) by smtp.gmail.com with ESMTPSA id t76sm6288532wmd.13.2016.01.14.01.01.10 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Jan 2016 01:01:11 -0800 (PST) From: Stanislav Galabov Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: SPI geom_flashmap/fdt_slicer support, FDT 'resets=' support and a move of ohci_fdt.c Date: Thu, 14 Jan 2016 11:01:10 +0200 Message-Id: To: freebsd-mips@freebsd.org, freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3094\)) X-Mailer: Apple Mail (2.3094) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2016 09:01:14 -0000 Hi all, First off, sorry for the cross-post, I wasn=E2=80=99t very sure where = this 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 = to 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 = and 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 = if someone could commit these if the proposed changes are appropriate. Best wishes, Stanislav=