From owner-freebsd-drivers@freebsd.org Mon Sep 24 13:40:43 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 CCE8210AC5E9 for ; Mon, 24 Sep 2018 13:40:43 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it1-x12a.google.com (mail-it1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) (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 09F8581032 for ; Mon, 24 Sep 2018 13:40:43 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it1-x12a.google.com with SMTP id w200-v6so2303743itc.4 for ; Mon, 24 Sep 2018 06:40:43 -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=hTsLHH+x1icl+bodtHd7ci9rPD/4iwamJOqH7Rk/IQo=; b=MKCd98oOOkBRMJOhKwbIVYN8qvHjuiVVH2baUx55t6Dm7L8GTYQrjUVE7llCvtOxS4 s9l1czMJbmN7eCLFwfbNIYfkKVl8zMTFjRgOaRMDAc5zqb5qVk2XRBxUAMw/oTeb6ebX 0ovdEMoyAd4bCjimva0DRaT4PRXc7FovW2Q4aqt5L5ywYHs00nvY2M89XAF6SqMC/Hmq JBzQURiCG5rjmUbL3i/iXjy6lZF5KIMO57XEcrCAEBkMbgQn9Ga/3uGq/zaxlU+Ukc2P I2N5jnCIbhw+GJFF9DUIlbBPNUhUNDlO4jSy5y4mde2bSvMLt8fomepD2TlH/2dKDwvq L8vA== 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=hTsLHH+x1icl+bodtHd7ci9rPD/4iwamJOqH7Rk/IQo=; b=bP+yLxhoQyepRRtmKSLD1kQNq+IOB6kY3Zb+zqV/0h9FKsyhmnHNuNoh1IcdYbQRog kLh58a4BpOtHIxl+8hS/NA4kDERJXmIT9XhVR/ghGr/UkCZtritdMt6VtWO1lQ66BJF8 fs9x/fGM1Id1zFb7zzNSbLi4sgw3TEmhjkdPufPSwF2qNwE4N0MPfaSImgbunSoCNAnN FLwjETVILuh/BSGeiXE66CqEYy+5LlvE9+uTkX6XxJz2WPcOl/pUTHgML+LROjmNErHN lMGdSqM7R6Y6DYUfKy3tBpV41FvzTiFHzAp0rkOYCHycRdbUawOq7m9O7fRp8+plZdCe Meyw== X-Gm-Message-State: ABuFfog14LbcWKPr0gaSbYHHHQjwRtpwoL5J0WAmDBixx5tgQ1N3/RN7 ljcEB891i0ELM52nE/gfs+3dzrFxYFSOGs3yQjA= X-Google-Smtp-Source: ACcGV61ljbKfjGYKoaHb8gNuCdi3WAwhrvqAHkvELQXVgPTYD77I5A7LlFHhgK0Rs+f/78YCVMxU9BxjzKkYmmCIbws= X-Received: by 2002:a24:7c4a:: with SMTP id a71-v6mr7817748itd.69.1537796442474; Mon, 24 Sep 2018 06:40:42 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: blubee blubeeme Date: Mon, 24 Sep 2018 21:41:39 +0800 Message-ID: Subject: Re: Do we have a equivalent for Linux pinctrl framework in FreeBSD? To: Rajesh Kumar 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 13:40:44 -0000 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 > >