From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4D0FAC282CF for ; Mon, 28 Jan 2019 13:21:51 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E7A5B20989 for ; Mon, 28 Jan 2019 13:21:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KY29+b7x" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E7A5B20989 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1go6qr-0002ZB-KC; Mon, 28 Jan 2019 08:21:25 -0500 Received: from mail-io1-xd2b.google.com ([2607:f8b0:4864:20::d2b]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1go6qp-0002Z5-Kg for kernelnewbies@kernelnewbies.org; Mon, 28 Jan 2019 08:21:23 -0500 Received: by mail-io1-xd2b.google.com with SMTP id s8so13369125iob.13 for ; Mon, 28 Jan 2019 05:21:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=dQDx96WF9UT3BKpGcV8K7ruvjSrKcVSnPBnGa9r1Ojw=; b=KY29+b7xq5EgQWlPiQSikew1Ty+mSTaW8ZR4zkVwA/acap/oe1iFBPX+9ZKTVjyBQa MDay4iHbp5Wxfl258YAruqBHupG7CqjbW8qo/fkqWcrB0nk6E5SQKpkog/v1i0ePM6ob yGy3PLkVfIhiAFl0Jks6LslRlAxbdWT7HCQ9nEW1OwoyOkEGOovpSO0Cs6OA46b7p/Qr FRQhs4JvLdLwPzH0pzXyzBgTEaxZXiwRVzskfCR5e579kDpyNH3OKnCtdGmFXC6HZOXQ UElPv8juThfSuSAlvBJGg0xvh8BmsAGg7SxbVX4Xxv1gRndVLSGJfw0uB+aXVzn+QIx3 A00A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=dQDx96WF9UT3BKpGcV8K7ruvjSrKcVSnPBnGa9r1Ojw=; b=GwEFnirQYTUVzIBPRboXJ6KnEXZuUzfUNa0wMAoSfup75E0R2Bla6n6mg4VgQpAyoE MfPFjm0E2+FVnwH+9YynQn1TUeW1KUScmHFVg3ha8IRA8c7JxH4QC12an1shfuRAqHO4 4UFCXf8CNyS29/pwA4yU+6IxHXi81wkoxJJyprO3KlFjdUYjsvhn974byJl1sJ91axvY w1s9v1B6jsRN2+GK2H4tmy558clTlW4XYbMJppUa7LMwJ3XzMC2M/BsTUcB5h8oLHmEL XLA1T1+3W5Vsvxfd7EcfqrLruBMgEvxF9zb6J4DRCfB0rFrQiQzmRqwwplMmpwEfZt3/ S2VQ== X-Gm-Message-State: AHQUAubqDiyVH+88XfQvAJHd7d6RjBH3dWcTb89/TTduYHo62nkhoIQB pXrEDOZIeHTczl05zztxJZ0YlHcIVDi1IKkVhkYbqEdq X-Google-Smtp-Source: AHgI3IaIn4MWCDzkVQVA+SusRe3T5HjEOUlP2T+xSb2H7Ts3MCTvN1CBXJnI/kdW6orAruw7aRGvraxWZQ1/KkZjbrs= X-Received: by 2002:a5e:a513:: with SMTP id 19mr6615904iog.151.1548681681045; Mon, 28 Jan 2019 05:21:21 -0800 (PST) MIME-Version: 1.0 From: Laurence Rochfort Date: Mon, 28 Jan 2019 13:26:55 +0000 Message-ID: Subject: Userspace configurable GPIO pinout To: kernelnewbies@kernelnewbies.org Cc: Laurence Rochfort X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8104875373364893297==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============8104875373364893297== Content-Type: multipart/alternative; boundary="000000000000780eca0580848d33" --000000000000780eca0580848d33 Content-Type: text/plain; charset="UTF-8" Hi all, I'm writing a driver for an ePaper display, that will attach via GPIO. I've read the docs in Documentation/GPIO, and Documentation/devicetree/bindings/gpio. The ePaper itself just has a 34pin flat-flex cable, so people will have to use an adapter board to convert to the GPIO headers for a given system. I'd appreciate advice on the best/canonical way to allow userspace to configure the pinout. I read the devicetree docs, but my interpretation was that was more for a somewhat static configuration to be provided by device vendors. Many thanks, Laurence --000000000000780eca0580848d33 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

I&#= 39;m writing a driver for an ePaper display, that will attach via GPIO.

I've read the docs in Documentation/GPIO, and Doc= umentation/devicetree/bindings/gpio.

The ePaper it= self just has a 34pin flat-flex cable, so people will have to use an adapte= r board to convert to the GPIO headers for a given system.

I'd appreciate advice on the best/canonical way to allow users= pace to configure the pinout. I read the devicetree docs, but my interpreta= tion was that was more for a somewhat static configuration to be provided b= y device vendors.

Many thanks,
Laurence<= br>
--000000000000780eca0580848d33-- --===============8104875373364893297== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============8104875373364893297==--