From patchwork Wed Jul 24 13:49:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 169611 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp10287906ilk; Wed, 24 Jul 2019 06:50:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzWhWgPnf9OVwFg7Egbj6a/FDochvi1ci1dM2ewKxZd5H7a4XBfxlSCa5MB+xQWQlAMava7 X-Received: by 2002:a63:1f1f:: with SMTP id f31mr80637924pgf.353.1563976215986; Wed, 24 Jul 2019 06:50:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563976215; cv=none; d=google.com; s=arc-20160816; b=YEp9MSxhBiZ/38Et+ByfwqHV6v4riGsUtioN7O+Sz07tI9ldlhTiIsVXZK8yogyFT1 TN8y/oXLLF1i2tNcNezRwKyEmWaYIFn4hq/i+BnOwwu/EVsxc1bGjTuomacPrC5Y5Pal WtwzjWygjHwBXLLnlyBsB3gcjm/Dd1J0I9rweducEe7WmE5hHthsrP8QEFMtoVUFOcUF V3HBuYdSIN2c/SjyIcTwOGDg5fYka/YVNacOCOgtsjTTtXvDltGB8R9sY0T2Qcv9i/dV 8+h/HSGS/F1MC2Fve0W6ibU/H3YZRETcXDrFWGGLmynAMMEPBsEisKJwOsH5J4fNrqtq UYhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:delivered-to; bh=vLK3FCqWIg5X12Cl4ZUb2nXeIj5nKtkbC/pXMUndB9o=; b=J1RyJwiN4Jtqgox/qq1vChuwvIjGLCq4NwyzlWlR+Pd9AxcvGj0tYv8ZooETv7Td3o xTxxzo/udVnJWT2kDV5Zc2NS301m31uBvHJxNBAqTS9zkB6A+h+h4UY8DLm/Hle5Jvh5 hL6JJqhQAiymsobGRMj1XiPsbVtJt/fneXeovfhphN/EkeDh7uWGkgSh4D/Ff8CMbYBG SHzi6mtf59A21Y0xE5qhq3RrRYqIpZjjM2qWKSnUxmNiAkhygSlxDjf4aBTFsl1PV6r4 fiC8vRcqerBLVvBW9kl9XXoGCEJ/lEktCNn/1FWwNqP8q95au07iQWH4OgAjB+9wzdNA wGuQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id s24si18020399pgm.327.2019.07.24.06.50.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 24 Jul 2019 06:50:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D85BE6E4F5; Wed, 24 Jul 2019 13:50:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id 95A516E4F8 for ; Wed, 24 Jul 2019 13:50:11 +0000 (UTC) Received: by mail-lj1-x244.google.com with SMTP id m23so44508094lje.12 for ; Wed, 24 Jul 2019 06:50:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HfPoVJsXGaQ7CrPxMNDhvPdtz+hWWRNJKhx9Zt29Rpw=; b=KRvaB9UYUCwjirrhHQGuCNYPHzhOim1AF/CM42AUmhk/i+t09qtBL5EErUnj2ljc4A PnR/lBnWiDx7Zi4Ze0UqQAk/D5Sa4g+UfRoP0rFzQ9PuT23Bj+Ylow/f92+HINc+U62q +qfAdhq6+qfQtspUfO0BTDaiVSHyPwbRuSQWEQE/Zd0GRzrexiupXbRmCJiSqP+T3JaE 19QWjthaFTGT5sEXEv2LISWkA1mvL1dVc3yVEDQBSgw71KhmY9f/cqq+IVKow5bsnL8Y Wkm86PZJ3B5X/QtsOrlxn2lm0vlkPAmFEKMF36MVxOyYpo5NcdmV6xTY+gt0OAvosv6z 8I6A== X-Gm-Message-State: APjAAAVkiejeKtiPH7R6Qt75XbzhrIKC63y43pg93NYP2Tg338mH4edM ySp8vmb51//7DwjMSGBWylQZUDDW3Yg= X-Received: by 2002:a2e:7315:: with SMTP id o21mr35196730ljc.3.1563976209824; Wed, 24 Jul 2019 06:50:09 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id v4sm8586483lji.103.2019.07.24.06.50.08 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Wed, 24 Jul 2019 06:50:08 -0700 (PDT) From: Linus Walleij To: dri-devel@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , Sean Paul Subject: [PATCH 2/2] drm/pl111: Drop special pads config check Date: Wed, 24 Jul 2019 15:49:59 +0200 Message-Id: <20190724134959.2365-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190724134959.2365-1-linus.walleij@linaro.org> References: <20190724134959.2365-1-linus.walleij@linaro.org> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HfPoVJsXGaQ7CrPxMNDhvPdtz+hWWRNJKhx9Zt29Rpw=; b=xqkD4l6pQ59S18/2N97O4kkMzx8lUYEVdwU8E6DDQAjlTZbekJZ45iJxLjCYV8wPkB oFJQsyDhyr6TG++7ko7t24C9YqC3QX9lKck0pa/+JScHKTtpj4LcIL3PETrNI5ddzNlk u1mQnmHFwPDUlRYXj7KdrfopRx9UxPCntJoAvVDv/uh6ypWag6UdbPiImhI7sobYGym+ U+MKkK4amr4J6NZVmbdtsGZAhLutz6UmI8Fb4AzAGWARs9BtHpFUi7e9x+79OlJXVXix s3MQIcG3uGvEFJHlOky9cSIJlp8+gcYiUnfJ1PuqP/4unyq6tTLNLy9e74hqCfGz8ivH RquA== 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: , Cc: Liviu Dudau , Sam Ravnborg , Pawel Moll , linux-arm-kernel@lists.infradead.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" This drops the check of the surplus "pads" configuration from the device tree that is completely unused in the DRM driver. This was only used to work around limitations in the earlier fbdev driver. Cc: Sam Ravnborg Cc: Pawel Moll Cc: Liviu Dudau Signed-off-by: Linus Walleij Reviewed-by: Sam Ravnborg --- drivers/gpu/drm/pl111/pl111_display.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/gpu/drm/pl111/pl111_display.c b/drivers/gpu/drm/pl111/pl111_display.c index e42fb6353623..8595a676b084 100644 --- a/drivers/gpu/drm/pl111/pl111_display.c +++ b/drivers/gpu/drm/pl111/pl111_display.c @@ -572,24 +572,8 @@ int pl111_display_init(struct drm_device *drm) { struct pl111_drm_dev_private *priv = drm->dev_private; struct device *dev = drm->dev; - struct device_node *endpoint; - u32 tft_r0b0g0[3]; int ret; - endpoint = of_graph_get_next_endpoint(dev->of_node, NULL); - if (!endpoint) - return -ENODEV; - - if (of_property_read_u32_array(endpoint, - "arm,pl11x,tft-r0g0b0-pads", - tft_r0b0g0, - ARRAY_SIZE(tft_r0b0g0)) != 0) { - dev_err(dev, "arm,pl11x,tft-r0g0b0-pads should be 3 ints\n"); - of_node_put(endpoint); - return -ENOENT; - } - of_node_put(endpoint); - ret = pl111_init_clock_divider(drm); if (ret) return ret;