From patchwork Mon Jan 15 09:39:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 762899 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DDE63F4E3 for ; Mon, 15 Jan 2024 09:39:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="3RHkWueD" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-33678156e27so7319151f8f.1 for ; Mon, 15 Jan 2024 01:39:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1705311548; x=1705916348; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=8qhrsF6Kb7W+uzCqN+2CH11GXv4br2sknGpx3hEdjns=; b=3RHkWueDFH0UG1prso4NyFKWmijugUN0jVBdg21Q9FnqScgfEoYTrwUagfbyueRMYU i3s1Yeu7tvmL+nph8ps9Fz2CM4/k8/aE9f6ItygPK581rfZ+hAhxxt/b1qHeBODhUQoM 0xazAuUPF1dbxMrVZhmSVM9ws/vpjMRU1k4w6K+Xd++EVbRG7T1Govd3fkJSfHEiqeRd 67d3FPT642RMFnjDyhD+TjAqMlVEgGWTbL0yT/ZnM6sS2djcgaeQ7QUJZCXB9vhk/lXB /dt4SLnHKT+LaTPIBQPvNt5GFcnIhg4MTiLfwOEX3vRrg7FmS3qxUxhUIYTYA3THrRlj S6TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705311548; x=1705916348; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8qhrsF6Kb7W+uzCqN+2CH11GXv4br2sknGpx3hEdjns=; b=iGvbGX55rI/pmv7F3UuXReibylpRVrA200nm149LGapXunrlMzRgYOsrbqe3MYaC4N ru/kcKMfm3brkPuVGFKBeICm6QO97fTI1G4SJvNtA/mccEmQu1isQk/8zp9EOpzP2JWB oonn4Cj5XNZBnJutJ5mfZTPpm8OUU79brJ8rBEJqsEItQZmmY+aR7k/Frx+0im33WZ3e 5X95wkzoAjOr5Cu+TePMnGqXDgcNmbHZgC8Ak/a2LTzwW8oZWMgr/4OuxMidAKxg1vvb VMfoIUzd2hCx468++aeeO7iMQ02jiq/Lpqzd+hB3aaqLJmQBWXgBxUUqK53/LNx26ehn lUfw== X-Gm-Message-State: AOJu0Yy5C+/BjOfwWTGP0e/ja5cV9v3te725FRkbqPMUejxKbmsepiBW QZuio57yDyd4YvfEEpdQE+G+xHCqk3XDdw== X-Google-Smtp-Source: AGHT+IE1+sCz+V/xH9YwNETo8mEbbxjlsDdoNC90LZ/62Uc2/nQugYnR/IE0NEstHJVX6OYOfJViDQ== X-Received: by 2002:a05:6000:1186:b0:337:6189:da19 with SMTP id g6-20020a056000118600b003376189da19mr2730268wrx.2.1705311548046; Mon, 15 Jan 2024 01:39:08 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:b244:1a90:13e7:9f6f]) by smtp.gmail.com with ESMTPSA id c18-20020a5d4cd2000000b0033740e109adsm11361087wrt.75.2024.01.15.01.39.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 01:39:07 -0800 (PST) From: Bartosz Golaszewski To: Linus Walleij , Kent Gibson , Phil Howard , Erik Schilling Cc: linux-gpio@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH v2 1/2] README: add info about the github page Date: Mon, 15 Jan 2024 10:39:03 +0100 Message-Id: <20240115093904.9606-1-brgl@bgdev.pl> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Bartosz Golaszewski The github page over at https://github.com/brgl/libgpiod has been reopened for bug reports and discussions. Add a link and a mention to the README file. Signed-off-by: Bartosz Golaszewski Reviewed-by: Erik Schilling --- v1 -> v2: - add a link to the kernel.org mirror containing release tarballs README | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README b/README index 69128dc..632aab3 100644 --- a/README +++ b/README @@ -294,9 +294,16 @@ Those also provide examples of the expected formatting. Allow some time for your e-mail to propagate to the list before retrying, particularly if there are no e-mails in the list more recent than yours. +There is a libgpiod github page[7] available for reporting bugs and general +discussions and although PRs can be submitted and discussed, upstreambound +patches need to go through the mailing list nevertheless while release +tarballs should be fetched from kernel.org[8]. + [1] https://github.com/kward/shunit2 [2] http://vger.kernel.org/vger-lists.html#linux-gpio [3] https://docs.kernel.org/process/email-clients.html [4] https://docs.kernel.org/process/coding-style.html [5] https://docs.kernel.org/process/submitting-patches.html [6] https://lore.kernel.org/linux-gpio/ +[7] https://github.com/brgl/libgpiod +[8] https://mirrors.edge.kernel.org/pub/software/libs/libgpiod/ From patchwork Mon Jan 15 09:39:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 763177 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 13070F4E4 for ; Mon, 15 Jan 2024 09:39:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="HxWYI/iD" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-3373bc6d625so7258175f8f.3 for ; Mon, 15 Jan 2024 01:39:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1705311549; x=1705916349; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hx76/jbaxWjm0w8qVchMuNcfLc95YT5tigHwZtYMztc=; b=HxWYI/iDz43k//KgSBpNBH0g6wQPHGNeV0CZY9NIGKYqu9A4EDPe6fl+qbslISkd2y f1k1el8wdiIi8TsOtQTYuJiP3xWAnz5IXVC2Uuh2t11yUARbg6NO2rFSuLl6pnATvHLk JdE9iGmLYdESvUCeSAYo7Rb120Z+HN3y1Oo1TU1Vkb7qHeX1sTuNJrtLjwhzuqMWgHl4 Wui+J6i48eHR8mLvPYsRgwtlnTRgZ3jIjrZu7Ur9uEYyVhzw8P87SqGHwMu+0Nmd4yQP c6sdNse4Lek7/yCLYIy8Pq9l/tkT8vcs2tvXKAV+L7EZEH+8q4spGlFL5o2y6dJ/EzRH Lvig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705311549; x=1705916349; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hx76/jbaxWjm0w8qVchMuNcfLc95YT5tigHwZtYMztc=; b=eBq9uIg7jTGo088FTLUW895F2X6POb/x+CrDaqYHl1TAbRv5OYEAtXuRCSo2Pblwtm dNGfDQhzu3TRN1aO5rJo8L9fcIGOnY//QeGcYPU/dXynSCbQNOYz3Fl7EeBNk26irGTH ImPu9GCnP4dyW1pKjnVLMZpM+MIT5aVnx1W/HPFXTt/W4SY/Yca+CEOkLG2YKwUYv8Uz hmZvSQame5nIoQ/fguCt2JLuYtOxZUXgsWIvi0Gn3gTpUm80VQ6zJjzEMebCq2MnicdY NnI1YGbdkPOCEpCHW/EVHNWTyg+9rcS0NrNULF7ENvSm4mTsTrvIvrM4r/roU+cksdyn GDTQ== X-Gm-Message-State: AOJu0YwCLuM+Ezt/IPTnrqGaOJpEYnqrq9E3GCEq0k+/IwAPaEBoYSCV l7Kil4k+K1YSkf7jx3NX8G7qVfmpB3xUUg== X-Google-Smtp-Source: AGHT+IHJImItcgBNf3i8IqqG4KzTehPsKZsy9J+DDkqlrUfeiwoql8UaUOInUjeDMVlAKZ7JpvZ3xg== X-Received: by 2002:adf:f04c:0:b0:336:c010:bff4 with SMTP id t12-20020adff04c000000b00336c010bff4mr2580402wro.11.1705311549079; Mon, 15 Jan 2024 01:39:09 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:334:ac00:b244:1a90:13e7:9f6f]) by smtp.gmail.com with ESMTPSA id c18-20020a5d4cd2000000b0033740e109adsm11361087wrt.75.2024.01.15.01.39.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 01:39:08 -0800 (PST) From: Bartosz Golaszewski To: Linus Walleij , Kent Gibson , Phil Howard , Erik Schilling Cc: linux-gpio@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 2/2] README: mention the linux v5.10 requirement for libgpiod v2 Date: Mon, 15 Jan 2024 10:39:04 +0100 Message-Id: <20240115093904.9606-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240115093904.9606-1-brgl@bgdev.pl> References: <20240115093904.9606-1-brgl@bgdev.pl> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Bartosz Golaszewski Major version 2 of libgpiod requires linux kernel uAPI v2 to be available. This was released in linux v5.10 so mention it in the README. Signed-off-by: Bartosz Golaszewski --- README | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README b/README index 632aab3..7680915 100644 --- a/README +++ b/README @@ -8,8 +8,10 @@ libgpiod character device (gpiod stands for GPIO device) Since linux 4.8 the GPIO sysfs interface is deprecated. User space should use -the character device instead. This library encapsulates the ioctl calls and -data structures behind a straightforward API. +the character device instead. Version 2 of libgpiod requires the new GPIO +character device uAPI to be available which was first released in linux v5.10. +This library encapsulates the ioctl calls and data structures behind a +straightforward API. RATIONALE ---------