From owner-freebsd-drivers@freebsd.org Mon Sep 24 14:14:10 2018 Return-Path: Delivered-To: freebsd-drivers@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 34CE710AD3CA for ; Mon, 24 Sep 2018 14:14:10 +0000 (UTC) (envelope-from rajfbsd@gmail.com) Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9B0E8260F for ; Mon, 24 Sep 2018 14:14:09 +0000 (UTC) (envelope-from rajfbsd@gmail.com) Received: by mail-wm1-x32a.google.com with SMTP id l7-v6so5078840wme.2 for ; Mon, 24 Sep 2018 07:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jG02SFFPEMaUXjqUMajIgyhojw4G54R3n9ppaJXEFQQ=; b=LmSCwyrCX+idPUK8B31j/yAHl1uXbP7jhwtkI6wUZbX8QA4z32dZmq9ajnnlZwFJiy kp8Rvl0nMMvhszED1B+9g4qrawikSN5Ae8bGWUQpMWSs3jTgI0ZLgxxc/7p1ObwoEjCP n1LmAfzwJUMgTxveUiFkWZs8k4JPD32kW6wbKyiPX1e03441EU9jy0MiCcUWoF4Zm1kt S3OizFBUbGqXBeLSeVKoBk89hm8kJhy4D57tdM9FT4WAzU0gSMlnFFDiDuiE7yl8cxGv u5giz1VbeAU80WBPxls3yEHOkhBb1j/mGNzLqq1AlqOrszrkTx7w48HxtlM+JXguEFxH oZeg== 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=jG02SFFPEMaUXjqUMajIgyhojw4G54R3n9ppaJXEFQQ=; b=O59mE70wWseJ+AkJqu/cJxvtvUdHGDPNagwk8BS/agKr1+Ua2tYPGbFFYS/lXc8Npq TKbVHBejjFVR6yBIu3Vq1s06R7YrRCAqA0/eX122UglMeP1qTZReLMHm9E6hjaq2hxcV 23ZH1j9yMhQnoRnhcdWT4eypiy/604Uvz1uYTo2QYmlDKkI1LGJkd9RLXB04W8G0RWGe /dw1HvRLQCP/7FpBTlWjnYO2AsCw423SwRvFoUmKWs7x52G/1rIjul1EyltWBE4JV/V4 3bHwTziKi9sxejUbj0upBI8KDcFucr6QSy7v1tIkOnjgaST9pSEncPJzx69bRa91AnEu JG6g== X-Gm-Message-State: APzg51DyHCrvCWkXbQIzuN3rclEL5K1uBw/4NfB79DPKBA5/RUH7A1ST hqN/u8NVbzwlUmaeZlSbCj02kcO0bWdq6V5dghWndA== X-Google-Smtp-Source: ACcGV60+4qsVnlMS2/pf/5u5fQhYsjy134L2IrQu+NMgQyFl1BWKxFsAtUa0LbTWDGAfldccg9qmS3KSHxE3/P1vHm4= X-Received: by 2002:a1c:9c56:: with SMTP id f83-v6mr7238472wme.135.1537798448514; Mon, 24 Sep 2018 07:14:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Rajesh Kumar Date: Mon, 24 Sep 2018 19:43:56 +0530 Message-ID: Subject: Re: Do we have a equivalent for Linux pinctrl framework in FreeBSD? To: blubee blubeeme Cc: freebsd-drivers@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2018 14:14:10 -0000 Thanks for your response Blubee. This show the usage of pinctrl framework with FDT attached devices with ARM platform. I guess fdt_pinctrl will work with amd64 also, but will it be working with ACPI attached devices? On Mon, Sep 24, 2018 at 7:10 PM blubee blubeeme wrote: > > > On Mon, Sep 24, 2018, 21:23 Rajesh Kumar wrote: > >> Hi Everyone, >> >> Do we have a pinctrl subsystem in FreeBSD which is kind of equivalent to >> the Linux Pinctrl subsystem? >> >> I have a GPIO controller which is attached on the ACPI bus (on amd64 >> platform). I am trying to add the support to configure the pins as >> interrupts. I looked to use the INTRNG framework, but that seems to be >> not >> available for amd64 platforms. So, I am exploring the pinctrl framework >> available in FreeBSD, but that seems available only for FDT devices. So, >> Is there any way I can use this pinctrl framework for my purpose (or) is >> there anything else I need to look after? >> >> Thanks, >> Rajesh. >> _______________________________________________ >> freebsd-drivers@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-drivers >> To unsubscribe, send any mail to "freebsd-drivers-unsubscribe@freebsd.or >> > > > This might be helpful: https://reviews.freebsd.org/D14104?id=38750 > >> >>