From patchwork Fri Apr 19 08:32:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 162517 Delivered-To: patches@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp1750363jan; Fri, 19 Apr 2019 01:35:03 -0700 (PDT) X-Received: by 2002:a1c:f308:: with SMTP id q8mr768639wmq.1.1555662903658; Fri, 19 Apr 2019 01:35:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555662903; cv=none; d=google.com; s=arc-20160816; b=SOg+FSkaJQaOU57fOKVzvtodlTSMqHZblHxW/XM7GK6LOhjwNjLebvbAAQE9f0yyoD TdchubEDqdb4oJ6VMArDxzZ6wBmOQ80SRguysJNRR86xY/47H8D1PTy5jmMbbVxILwK6 ZsOeREy5BOXvLKI7X681abJ83N8JY9cMPjwO7LaSTNsQi1v2++CMX/BC9fF3oc51sXgF Dnl/jRH6lZ1+B8IMsR1rve4VFas2SvqDtNADUUOztt3WQG3HaF124zCn1pY6X3AerJUr DNZrtMOUBVzVbIFVHAMxKJns74HyB4aSuf+OOdUV6uhrQOq77Kz2fZH1uLTGi4YpUBcl vYuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:subject:cc:to:from:dkim-signature; bh=aSruXCIf56eTUnwd91mFJWvgWo5ilLOW75OOPS8G/vQ=; b=GE0/GW+6pWKpRxH2PuOWyiUnPECs3jkW7WlpMezS/a+PdKAhMYVob2rJY7YmxZnP2/ o1di3wlnz5I6vkyoKlQt5B5KaN5Bq08vI4CWUb9rQdyZCQfMaNUxincU18nl1aw7oDmb zqeoMgT9/pfJ4GsPWoiyQNzizO+LaYhUwkdsswn2YzEBw3M31fkqMoUqYcZRptIVeG5r PYlregx6T6wg13jpaAokghfsXnREK/eG+I17A1fiu8CEX4I9AQIrTU1wcURlTgAYd9PK L12zcLU8A9CakCouPFG6zUZdLxQUP/QOEaHllSD4oBgsrSJhH0hYA2itjmurYH5Hnv8B 3zaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="b/L5hdEy"; spf=pass (google.com: domain of peter.griffin@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=peter.griffin@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id l184sor2499149wml.4.2019.04.19.01.35.03 for (Google Transport Security); Fri, 19 Apr 2019 01:35:03 -0700 (PDT) Received-SPF: pass (google.com: domain of peter.griffin@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="b/L5hdEy"; spf=pass (google.com: domain of peter.griffin@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=peter.griffin@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=aSruXCIf56eTUnwd91mFJWvgWo5ilLOW75OOPS8G/vQ=; b=b/L5hdEywCgjzZXewVEgNkwkRzSctvTyMAgjLLfQe/+d8De14q8WZX75J9BSDobTku YUBJKbF348WamlAnWAxLY8sGTZvvMi2yJIx2ug6l/zntb9dohxh0wh4tCkJGuI1d0z8L SrQZhZStVkUneIGq++IlAWsT2hX5/S0B8XP0NSNA4FAlnN04Ysw+Lv2b4MR89PMJOH2K R6rVoL0zmApHrx57+z8sXYHfjMS321lOzp1YwQ0P4p7s/xPwQ8gOC71JF4DxI7SHCf9F Ret9rCen/YzJXaWJ+lP/WFlhuEObKsdn5HpdKtYREmNd66KMY02IMnL2faRr9dUPQJhh RAdA== 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; bh=aSruXCIf56eTUnwd91mFJWvgWo5ilLOW75OOPS8G/vQ=; b=uJ5jsx5NwTwppX8fPCWPhoTZrLwZsIT2o/WmcDoW5rCcnK+HobWsGGUR+rxAxRJZci Bk27OyIr9umcfc3Jl24wvokMfUOIfuTB0pES4aibBbxFmVqC9CQHgTvRmKrzxWmDWfq5 +blU0wVRzk70OK6pqFLr5x/cn9zd9ZtQcVAgcvaIoD/8/nmFRmG4J4uwyZkWZ5pkvuB6 uh0Ho9N0tIBg8y4yV/tbA0cRrC2O5OiXBqMo3tJffWjSyb7gmF5Dfjp2HfFEstBpVRDl tyEnyAeQjdaRezcwbQFJI713Bh+kYszza3ij5cjjuJJoxveYK0+LEY/0G2T3pMkDhaye hJdw== X-Gm-Message-State: APjAAAUj3awRpe5ORTCGpu+GiLoJXmz4tUmL4KaC1NT1pcxwUlMafg9k 6JovP/5e7Ky1aelGKWYFHunfUQs/oX+ZwQ== X-Google-Smtp-Source: APXvYqxfjCfRWxLbTWBnUcA/cu/fK391O64x79gXKonNAQ0gNZuh0zwpSSvj2c3lV75vHBq3aiErZQ== X-Received: by 2002:a1c:e0c6:: with SMTP id x189mr1764732wmg.4.1555662903279; Fri, 19 Apr 2019 01:35:03 -0700 (PDT) Return-Path: Received: from localhost.localdomain (cpc89244-aztw30-2-0-cust4998.18-1.cable.virginm.net. [86.31.179.135]) by smtp.gmail.com with ESMTPSA id t76sm5700147wmt.8.2019.04.19.01.35.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 19 Apr 2019 01:35:02 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, john.stultz@linaro.org, airlied@linux.ie, daniel@ffwll.ch, robh+dt@kernel.org, mark.rutland@arm.com, p.zabel@pengutronix.de, xuwei5@hisilicon.com, mturquette@baylibre.com, sboyd@kernel.org, yuq825@gmail.com Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, lima@lists.freedesktop.org Subject: [PATCH v2 0/6] Add HiKey / HI6220 SoC Mali-450 support Date: Fri, 19 Apr 2019 09:32:55 +0100 Message-Id: <1555662781-22570-1-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 2.7.4 Hi folks, This series adds support for the Mali450 MP4 GPU found on the hi6220 SoC from HiSilicon. It has been tested with the lima drm/mesa driver hosted on freedesktop.org gitlab, and validated using Weston and kmscube. As lima drm driver has now been merged this v2 series includes one extra patch to avoid Oops when all Mali ip blocks share the same irq. regards, Peter. Changes since v1: * Additional drm/lima patch to avoid Oops in shared irq case (Peter Griffin) * Squash clock and reset driver parts to avoid bisection hole (Stephen Boyd) * Add comment as to what other driver is probing same dt node (Stephen Boyd) * Check regmap_write error code and return individually (Philipp Zabel) * Add Rob Herring Reviewed by tags Peter Griffin (6): dt-bindings: gpu: mali-utgard: add hisilicon,hi6220-mali compatible dt-bindings: reset: hisilicon: Update compatible documentation arm64: dts: hisilicon: Add Mali-450 MP4 GPU DT entry reset: hi6220: Add support for AO reset controller dt-bindings: reset: hisilicon: Add ao reset controller drm/lima: handle shared irq case for lima_pp_bcast_irq_handler .../devicetree/bindings/gpu/arm,mali-utgard.txt | 5 ++ .../bindings/reset/hisilicon,hi6220-reset.txt | 1 + arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 38 +++++++++++++ drivers/clk/hisilicon/clk-hi6220.c | 3 +- drivers/gpu/drm/lima/lima_pp.c | 8 ++- drivers/reset/hisilicon/hi6220_reset.c | 65 +++++++++++++++++++++- include/dt-bindings/reset/hisi,hi6220-resets.h | 7 +++ 7 files changed, 124 insertions(+), 3 deletions(-) -- 2.7.4