From patchwork Wed Nov 7 12:10:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Dodge X-Patchwork-Id: 10675459 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id BD57114BD for ; Fri, 9 Nov 2018 08:04:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B18322E367 for ; Fri, 9 Nov 2018 08:04:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A53602E36F; Fri, 9 Nov 2018 08:04:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 651682E367 for ; Fri, 9 Nov 2018 08:04:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E249F6E772; Fri, 9 Nov 2018 08:04:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by gabe.freedesktop.org (Postfix) with ESMTPS id C1F6D6E07F for ; Wed, 7 Nov 2018 12:10:58 +0000 (UTC) Received: by mail-qk1-x741.google.com with SMTP id e4so20379715qkh.6 for ; Wed, 07 Nov 2018 04:10:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=4ICnMymMh15Vyd/3gv+AgiqeraEhxGuj48wP9n4yRXU=; b=CjFUcuFuJ4M49zq6oqG8P5pGoViksovGVp0Pc3UPq3yuI7NgyI1voj8V+sEfWAFEFA Gh6SIFj37TW1ebCoUw+4JBUFdHUWVK/1sMxp4P0eMWpgo5eGct82HybrxJPs1lWA2Ayc ScUidL7pG2hT7bUdHkaRfaD+Cw1hNk8ZXzlhAWcKS52ybUVaC3ohHDO08mWJEGUPrJhu rfuDpGsD4ZFizCa1DsMuHHbACyBoQWIyzLx18kuYtV1ry5p0k2xg/OzvWp2VKWaWmhRr mVqPDqhATwtPBpoYx3VAFqmHmvAEjKL4xbe7anRBmruVOLd8b7SBxh6MDZlGlznt4qx7 nurw== X-Gm-Message-State: AGRZ1gJSNbXwDiJZB9URSAwqLKITwdXp7knWkwy0/Qbfbo5NnWXrlBfj IF2UuJyTlwPRRB3T54yvIKo= X-Google-Smtp-Source: AJdET5cAHoonf461iTw29zojVww4Y6LUOS7XfFyDHVXmIwmN8NwAjhAQ8wzhvgsQLguxBxW25ACclw== X-Received: by 2002:a37:b543:: with SMTP id e64-v6mr1320117qkf.80.1541592657759; Wed, 07 Nov 2018 04:10:57 -0800 (PST) Received: from bdodge-linux-ub.fios-router.home (pool-108-49-248-83.bstnma.fios.verizon.net. [108.49.248.83]) by smtp.gmail.com with ESMTPSA id 53-v6sm257490qtw.52.2018.11.07.04.10.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Nov 2018 04:10:57 -0800 (PST) From: Brian Dodge To: lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, jacek.anaszewski@gmail.com, pavel@ucw.cz, robh+dt@kernel.org, mark.rutland@arm.com, dri-devel@lists.freedesktop.org, linux-leds@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 0/3] backlight/arcxcnn fix vendor prefix in driver and bindings and add support for arc1, arc3 Date: Wed, 7 Nov 2018 07:10:37 -0500 Message-Id: <1541592640-18478-1-git-send-email-bdodge09@gmail.com> X-Mailer: git-send-email 2.7.4 X-Mailman-Approved-At: Fri, 09 Nov 2018 08:04:13 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP The vendor-prefix.txt file correctly uses the prefix arctic for ArcticSand. The ArcticSand driver and the device tree bindings for it incorreclty use just arc. This mismatch was an error in the original patchset for the driver and is fixed in the first two patches here. ArcticSand has been purchased by Peregrine Semiconductor, now pSemi. The company wishes to continue using the ArcticSand name and arctic prefix for its LED backlight drivers. There are two newer chips created by ArcticSand team. The chips are very similar to the arc2 chip supported by the current kernel driver. Support for the two new chips (arc1 family and arc3 family) is added here based on reading the chip id via i2c in probe and making minor adjustments to ranges and register addresses based on the id.