From patchwork Fri Apr 29 12:37:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ma=C3=ADra_Canal?= X-Patchwork-Id: 569206 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D8B6C4332F for ; Fri, 29 Apr 2022 12:38:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359351AbiD2MmE (ORCPT ); Fri, 29 Apr 2022 08:42:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52316 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359328AbiD2MmD (ORCPT ); Fri, 29 Apr 2022 08:42:03 -0400 Received: from mail-ot1-x32e.google.com (mail-ot1-x32e.google.com [IPv6:2607:f8b0:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7BBCC9B43 for ; Fri, 29 Apr 2022 05:38:41 -0700 (PDT) Received: by mail-ot1-x32e.google.com with SMTP id x8-20020a056830114800b00605fa3c9e90so389941otq.2 for ; Fri, 29 Apr 2022 05:38:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usp.br; s=usp-google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GyLq/VeXsUx7i3jX6gXpo6bXbVNITIFiiUrEDtEMY+w=; b=yBhyfloaiTY1IVTbeQadAid7OQA5iFJYxuwJ71nUqzOYUX6rTgNjU2a+VJl7EAC4NV 49q0sAscKw1XpWdXFzHfWb84cR0Ta1bpYLPKdUxB1oPiJLubSviIRSe+nBBVAHmfumX/ r4eklVMjUTL8YQrl88ehVnE9Hzt+1EjwY7eRA0ZAeDp3BOWRzipo/Wkbe6YBYKkpaYGc A2WIBmU8owUzbma6An2NEDIq+8tGv+9V5sVaEdIfGBwaZf/sX5Qq2BjVI/FGoJxmXQvh fVhe2yQeGhn01V4Qi3rbya6Eg3SR2ZfPalj1i7GKbH4QqrwO/rjAX5cclDfUMAOmxosM k6zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=GyLq/VeXsUx7i3jX6gXpo6bXbVNITIFiiUrEDtEMY+w=; b=yEPre4IihnFa1zlt1kH1mUrSK3ImS6Huv+Ix/5SkbA9I5HWitKni8Mm7/HgDhp0pj0 GquIJ/sSWxDnsuNt8nwdlGmKUdXS2jLZY2egoaLMxoPdceDrb/OTcbiyetoJ8Py7PbkR vyx9sWKqdwt8ihXglAj0lsYFs/hPsHlW8szSvhDT6xQBoGOmbdKJodkDcKtJ5Y6GEpVz j8hLb+aw205DCSTtm+Ttp7cdBt6og2cXyv7qkTmiukCiZQC+6D3TTT7ja4lDAnQYowEi 9JOM5MpuIGEFNq8ipgGUMsKYlOSruXxLZ5W7NhyYIR9WoJX4k+++H+O1xn+x7EEYxnud uY5w== X-Gm-Message-State: AOAM531cXtlMYW8nyHXfXXwXi1FyT49sX+wG/i54/TUFqrEylC+uJllZ 9icdfiPoTlcTY/y2uR/ELK5ciQ== X-Google-Smtp-Source: ABdhPJxPDW83R2yw7JMq1jxLLs7fVovH8A1+UGFMXP2aSOvwrrTatEspXjIK4tKZeaULwGrtm7ZbSQ== X-Received: by 2002:a05:6830:89:b0:605:642d:bd4f with SMTP id a9-20020a056830008900b00605642dbd4fmr13679037oto.235.1651235921194; Fri, 29 Apr 2022 05:38:41 -0700 (PDT) Received: from fedora.sc.usp.br (gwsc.sc.usp.br. [143.107.225.16]) by smtp.gmail.com with ESMTPSA id e12-20020a4ae0cc000000b0035eb4e5a6d9sm705158oot.47.2022.04.29.05.38.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Apr 2022 05:38:40 -0700 (PDT) From: =?utf-8?q?Ma=C3=ADra_Canal?= To: Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Sylwester Nawrocki , Andrzej Hajda Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Ma=C3=ADra_Canal?= Subject: [PATCH 0/2] media: s5c73m3: Update gpio interface and documentation Date: Fri, 29 Apr 2022 09:37:38 -0300 Message-Id: <20220429123740.147703-1-maira.canal@usp.br> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org As suggested by Andrzej, all s5c73m3 specific gpio code is completely removed and replaced by the gpiod framework. Moreover, the documentation is updated by fixing the misplaced gpio property. MaĆ­ra Canal (2): media: s5c73m3: Replace legacy gpio interface for gpiod dt-bindings: media: s5c73m3: Fix reset-gpio descriptor .../bindings/media/samsung-s5c73m3.txt | 2 +- drivers/media/i2c/s5c73m3/s5c73m3-core.c | 95 ++++++++----------- drivers/media/i2c/s5c73m3/s5c73m3.h | 9 +- include/media/i2c/s5c73m3.h | 15 +-- 4 files changed, 45 insertions(+), 76 deletions(-)